Skip to main content

Module action

Module action 

Source

Structs§

ActionError
Error returned by transition actions.

Traits§

TransitionAction
The action executed when a transition fires.

Functions§

async_action
Creates an action from an async closure.
fork
Fork action: copies single input token to all outputs.
passthrough
Identity action: produces no outputs. Executes synchronously.
produce
Produce action: produces a single token with the given value to the specified place.
sync_action
Creates an action from a synchronous closure.
transform
Transform action: applies function to context, copies result to ALL output places.

Type Aliases§

BoxedAction
Type alias for boxed transition actions.