Defines a step's handler for a signal from an Ash.Signals module.
When the signal is emitted, the records in the step that filter or
read_action selects either move to transition_to or run action.
AshWorkflow generates the read action, the transition action, the
signals_in listener and its policy.
Summary
Functions
Name of the hidden transition action, scoped by step like
AshWorkflow.Transformers.AddActions.timeout_action_name/2.
The action the listener runs: the generated transition, or the handler's action.
Name of the signals_in listener, as react_to_signal(..., only: ...) takes it.
Name of the hidden read action that selects the records in the step.
Whether the handler moves the record to another of step_names, and so
gets a generated transition action.
Types
@type t() :: %AshWorkflow.Entities.OnSignal{ __spark_metadata__: term(), action: atom() | nil, delivery: {module(), Keyword.t()} | nil, emits: [AshWorkflow.Entities.Emit.t()], filter: term() | nil, from: module() | nil, inputs: [{atom(), atom()}] | nil, name: atom(), read_action: atom() | nil, transition_to: atom() | nil }
Functions
Name of the hidden transition action, scoped by step like
AshWorkflow.Transformers.AddActions.timeout_action_name/2.
The action the listener runs: the generated transition, or the handler's action.
Name of the signals_in listener, as react_to_signal(..., only: ...) takes it.
Name of the hidden read action that selects the records in the step.
Whether the handler moves the record to another of step_names, and so
gets a generated transition action.