Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Invoke ¶
func Invoke( ctx context.Context, request *historyservice.UpdateWorkflowExecutionOptionsRequest, shardCtx historyi.ShardContext, workflowConsistencyChecker api.WorkflowConsistencyChecker, matchingClient matchingservice.MatchingServiceClient, versionCache worker_versioning.VersionMembershipAndReactivationStatusCache, reactivationSignaler api.VersionReactivationSignalerFn, ) (*historyservice.UpdateWorkflowExecutionOptionsResponse, error)
func MergeAndApply ¶
func MergeAndApply( ms historyi.MutableState, opts *workflowpb.WorkflowExecutionOptions, updateMask *fieldmaskpb.FieldMask, identity string, ) (*workflowpb.WorkflowExecutionOptions, bool, error)
MergeAndApply merges the requested options mentioned in the field mask with the current options in the mutable state and applies the changes to the mutable state. Returns the merged options and a boolean indicating if there were any changes.
Types ¶
type OptionsToReapply ¶
type OptionsToReapply struct {
// contains filtered or unexported fields
}
OptionsToReapply is used to track options that need to be reapplied on every update, whose changes cannot be detected simply by options equality check.
Click to show internal directories.
Click to hide internal directories.