Documentation
¶
Index ¶
- type Params
- type Worker
- type WorkerParams
- type Workflows
- func (w *Workflows) All() []interface{}
- func (w *Workflows) ConfigCreated(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) Created(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) Delete(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) EventLoop(ctx workflow.Context, req eventloop.EventLoopRequest, ...) error
- func (w *Workflows) ListWorkflowFns() []any
- func (w *Workflows) PollDependencies(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) Restart(ctx workflow.Context, sreq signals.RequestSignal) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerParams ¶
type WorkerParams struct {
fx.In
Cfg *internal.Config
Tclient temporalclient.Client
Wkflows *Workflows
Acts *activities.Activities
L *zap.Logger
Interceptors []interceptor.WorkerInterceptor `group:"interceptors"`
LC fx.Lifecycle
}
type Workflows ¶
type Workflows struct {
// contains filtered or unexported fields
}
func NewWorkflows ¶
func (*Workflows) ConfigCreated ¶
@temporal-gen-v2 workflow @execution-timeout 1m @task-timeout 30s
func (*Workflows) ListWorkflowFns ¶ added in v0.19.850
ListWorkflowFns returns the list of workflow functions for registration
func (*Workflows) PollDependencies ¶
@temporal-gen-v2 workflow @execution-timeout 1m @task-timeout 30s
Source Files
¶
Click to show internal directories.
Click to hide internal directories.