Class

Action

Action#Action(action, parentState, enabledopt)

Constructor

# new Action(action, parentState, enabledopt)

Constructs a new Action instance.
Parameters:
Name Type Attributes Default Description
action ActionType.<TInputs> The action type definition.
parentState State The state this action belongs to.
enabled boolean <optional>
true Whether the action is enabled.

View Source lib/flow-api/State.ts, line 502