updateworkflow

package
v1.26.2-125.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

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,
	updateReg update.Registry,
	ms workflow.MutableState,
) (*api.UpdateWorkflowAction, error)

func (*Updater) Invoke added in v1.24.0

func (u *Updater) Invoke(
	ctx context.Context,
) (*historyservice.UpdateWorkflowExecutionResponse, error)

func (*Updater) OnSuccess added in v1.24.0

func (u *Updater) OnSuccess(
	ctx context.Context,
) (*historyservice.UpdateWorkflowExecutionResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL