Updater

inner class Updater(val props: @UnsafeVariance PropsT, var state: StateT)(source)

The context for calls to WorkflowAction.apply. Allows the action to read and change the state, and to emit an output value.

Parameters

state

the state that the workflow should move to. Default is the current state.

Constructors

Link copied to clipboard
constructor(props: @UnsafeVariance PropsT, state: StateT)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Sets the value the workflow will emit as output when this action is applied. If this method is not called, there will be no output.