Documentation ¶
Index ¶
- type Updater
- func (u *Updater) ApplyRequest(ctx context.Context, workflowLease api.WorkflowLease) (*api.UpdateWorkflowAction, error)
- func (u *Updater) Invoke(ctx context.Context) (*historyservice.UpdateWorkflowExecutionResponse, error)
- func (u *Updater) OnError(err error) *historyservice.UpdateWorkflowExecutionResponse
- func (u *Updater) OnSuccess(ctx context.Context) (*historyservice.UpdateWorkflowExecutionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶ added in v1.24.0
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶ added in v1.24.0
func NewUpdater( shardCtx shard.Context, workflowConsistencyChecker api.WorkflowConsistencyChecker, matchingClient matchingservice.MatchingServiceClient, request *historyservice.UpdateWorkflowExecutionRequest, ) *Updater
func (*Updater) ApplyRequest ¶ added in v1.24.0
func (u *Updater) ApplyRequest( ctx context.Context, workflowLease api.WorkflowLease, ) (*api.UpdateWorkflowAction, error)
Click to show internal directories.
Click to hide internal directories.