Expand description
Types are the concrete structs and enums that a Node is cast to
Each type contains the relevant fields required for storing state during execution.
Every type must implement the Node
trait.
As a minimum a Node type must include the following fields:
struct NewNode {
id: String // The unique identifier for the node
job_channel: Sender<workflow::Message> // The channel to notify the job of completion
position: usize // A pointer to the node's position in the Job.nodes collection
}
Structs§
- Activity
- Activity Node concrete type
- End
- End Node concrete type
- Exclusive
- Exclusive node concrete type
- Start
- Start Node concrete type
Enums§
- Parallel
- Parallel node concrete type