Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutexWorkflow ¶ added in v0.7.0
type MutexWorkflow struct {
*mutexv1.MutexInput
// contains filtered or unexported fields
}
MutexWorkflow provides a mutex over a shared resource
type SampleWorkflowWithMutexWorkflow ¶ added in v0.7.0
type SampleWorkflowWithMutexWorkflow struct {
*mutexv1.SampleWorkflowWithMutexInput
// contains filtered or unexported fields
}
SampleWorkflowWithMutexWorkflow simulates a long running workflow requiring exclusive access to a shared resource
func (*SampleWorkflowWithMutexWorkflow) Execute ¶ added in v0.7.0
func (wf *SampleWorkflowWithMutexWorkflow) Execute(ctx workflow.Context) (resp *mutexv1.SampleWorkflowWithMutexResponse, err error)
Execute defines the entrypoint to a TransferWorkflow
type Workflows ¶
type Workflows struct{}
Workflows manages shared state for workflow constructors
func (*Workflows) Mutex ¶ added in v0.7.0
func (w *Workflows) Mutex(ctx workflow.Context, input *mutexv1.MutexInput) (mutexv1.MutexWorkflow, error)
LockAccount initializes a new MutexWorkflow value
func (*Workflows) SampleWorkflowWithMutex ¶ added in v0.7.0
func (w *Workflows) SampleWorkflowWithMutex(ctx workflow.Context, input *mutexv1.SampleWorkflowWithMutexInput) (mutexv1.SampleWorkflowWithMutexWorkflow, error)
SampleWorkflowWithMutex initializes a new SampleWorkflowWithMutexWorkflow value
Click to show internal directories.
Click to hide internal directories.