Module hotshot_task::task
source · Expand description
Basic task types
Structs§
- A collection of tasks which can handle shutdown
- A collection of tasks which can handle shutdown
- A basic task which loops waiting for events to come from
event_receiver
and then handles them using its state It sends events to otherTask
s throughsender
This should be used as the primary building block for long running or medium running tasks (i.e. anything that can’t be described as a dependency task)
Traits§
- Trait for events that long-running tasks handle
- Type for mutable task state that can be used as the state for a
Task