Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct { fx.In L *zap.Logger db.DB temporalclient.Client sdkservices.Events sdkservices.Triggers sdkservices.Deployments sdkservices.Sessions sdkservices.Projects sdkservices.Envs }
func New ¶
func New(d Dispatcher) *Dispatcher
func (*Dispatcher) Dispatch ¶ added in v0.9.0
func (d *Dispatcher) Dispatch(ctx context.Context, event sdktypes.Event, opts *sdkservices.DispatchOptions) (sdktypes.EventID, error)
func (*Dispatcher) Redispatch ¶ added in v0.9.0
func (d *Dispatcher) Redispatch(ctx context.Context, eventID sdktypes.EventID, opts *sdkservices.DispatchOptions) (sdktypes.EventID, error)
Click to show internal directories.
Click to hide internal directories.