Documentation
¶
Index ¶
- type TasksBackend
- func (be *TasksBackend) CancelActivityTask(ctx context.Context, instanceID api.InstanceID, taskID int32) error
- func (be *TasksBackend) CancelOrchestratorTask(ctx context.Context, instanceID api.InstanceID) error
- func (be *TasksBackend) CompleteActivityTask(ctx context.Context, response *protos.ActivityResponse) error
- func (be *TasksBackend) CompleteOrchestratorTask(ctx context.Context, response *protos.OrchestratorResponse) error
- func (be *TasksBackend) WaitForActivityCompletion(ctx context.Context, request *protos.ActivityRequest) (*protos.ActivityResponse, error)
- func (be *TasksBackend) WaitForOrchestratorCompletion(ctx context.Context, request *protos.OrchestratorRequest) (*protos.OrchestratorResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TasksBackend ¶
type TasksBackend struct {
// contains filtered or unexported fields
}
func NewTasksBackend ¶
func NewTasksBackend() *TasksBackend
func (*TasksBackend) CancelActivityTask ¶
func (be *TasksBackend) CancelActivityTask(ctx context.Context, instanceID api.InstanceID, taskID int32) error
func (*TasksBackend) CancelOrchestratorTask ¶
func (be *TasksBackend) CancelOrchestratorTask(ctx context.Context, instanceID api.InstanceID) error
func (*TasksBackend) CompleteActivityTask ¶
func (be *TasksBackend) CompleteActivityTask(ctx context.Context, response *protos.ActivityResponse) error
func (*TasksBackend) CompleteOrchestratorTask ¶
func (be *TasksBackend) CompleteOrchestratorTask(ctx context.Context, response *protos.OrchestratorResponse) error
func (*TasksBackend) WaitForActivityCompletion ¶
func (be *TasksBackend) WaitForActivityCompletion(ctx context.Context, request *protos.ActivityRequest) (*protos.ActivityResponse, error)
func (*TasksBackend) WaitForOrchestratorCompletion ¶
func (be *TasksBackend) WaitForOrchestratorCompletion(ctx context.Context, request *protos.OrchestratorRequest) (*protos.OrchestratorResponse, error)
Click to show internal directories.
Click to hide internal directories.