Skip to content

EXTENSION

AnyWorkflowAction

extension AnyWorkflowAction

Properties

noAction

public static var noAction: AnyWorkflowAction<WorkflowType>

Creates a type-erased workflow action that does nothing (it leaves state unchanged and does not emit an output event).

Methods

init(sendingOutput:)

public init(sendingOutput output: WorkflowType.Output)

Creates a type-erased workflow action that simply sends the given output event.

  • Parameter output: The output event to send when this action is applied.

Parameters

Name Description
output The output event to send when this action is applied.