Skip to main content

Module automaton_task

Module automaton_task 

Source
Expand description

Automaton wrapper in a green thread (tokio task)

§Automaton Task — wrapping the Automaton trait in a green thread

Allows running any Automaton as an independent tokio task with its own tick interval. Values are sent via an mpsc channel. (PortCombiner was removed — it duplicated CommandEnum.)

Functions§

spawn_automaton_task
Run an automaton as a green thread (tokio task)