package
0.18.5
Repository: https://github.com/cschleiden/go-workflows.git
Documentation: pkg.go.dev

# Functions

Await calls the provided handler when the given future is ready.
CanRetry returns true if the given error is retryable.
ContinueAsNew restarts the current workflow with the given arguments.
CreateSubWorkflowInstance creates a new sub-workflow instance of the given workflow.
Default calls the provided handler if none of the other cases match.
ExecuteActivity schedules the given activity to be executed.
Go spawns a workflow "goroutine".
Logger returns the logger for the current workflow.
NewBufferedChannel creates a new buffered channel with the given size.
NewChannel creates a new channel.
NewDisconnectedContext creates a new context that is disconnected from any parent context.
NewError wraps the given error into a workflow error which will be automatically retried.
NewPermanentError wraps the given error into a workflow error which will not be automatically retried.
NewSignalChannel returns a new signal channel.
NewWaitGroup creates a new WaitGroup instance.
Now returns the current time.
Receive calls the provided handler if the given channel can receive a value.
Replaying returns true if the current workflow execution is replaying or not.
ScheduleTimer schedules a timer to fire after the given delay.
Select is the workflow-save equivalent of the select statement.
Send calls the provided handler if the given value can be sent to the channel.
SideEffect executes the given function and returns a future that will be resolved with the result of the function.
SignalWorkflow sends a signal to another running workflow instance.
Sleep sleeps for the given duration.
Tracer creates a the workflow tracer.
WithCancel returns a copy of parent with a new Done channel.
WithRetries executes the given function with retries.
WithValue returns a copy of parent in which the value associated with key is val.
WorkflowInstance returns the current workflow instance.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author