Documentation
¶
Index ¶
- Variables
- type Adapter
- func (a *Adapter) Batch(jobs ...bus.Job) bus.BatchBuilder
- func (a *Adapter) Chain(jobs ...bus.Job) bus.ChainBuilder
- func (a *Adapter) Dispatch(ctx context.Context, job bus.Job) (bus.DispatchResult, error)
- func (a *Adapter) DispatchCtx(ctx context.Context, job bus.Job) (bus.DispatchResult, error)
- func (a *Adapter) FindBatch(_ context.Context, batchID string) (bus.BatchState, error)
- func (a *Adapter) FindChain(_ context.Context, chainID string) (bus.ChainState, error)
- func (a *Adapter) Prune(context.Context, time.Time) error
- func (a *Adapter) Register(jobType string, handler bus.Handler)
- func (a *Adapter) Shutdown(context.Context) error
- func (a *Adapter) StartWorkers(context.Context) error
- type Config
- type Engine
- type StartWorkflowRequest
- type StartWorkflowResult
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEngineRequired = errors.New("temporal driver requires an engine")
View Source
var ErrNotImplemented = ErrEngineRequired
ErrNotImplemented is kept for backward compatibility.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) DispatchCtx ¶
type Engine ¶
type Engine interface {
StartWorkflow(ctx context.Context, req StartWorkflowRequest) (StartWorkflowResult, error)
}
type StartWorkflowRequest ¶
type StartWorkflowResult ¶
Click to show internal directories.
Click to hide internal directories.