Module gear_common::scheduler
source · Expand description
Module for scheduler implementation.
Scheduler provides API for all available regular or time-dependent actions.
Structs§
TaskPool
implementation based onDoubleMapStorage
.
Enums§
- The type whose variants correspond to various storages used in Gear, including waitlist, mailbox, delayed messages stash etc. Used as a parameter in functions performing some common actions on storages like, for instance, holding cost calculation, to signal a concrete storage kind.
Traits§
- Represents scheduler’s logic of centralized delayed tasks management logic.
- Storing costs getter trait.
- Represents tasks managing logic.
- Represents store of task pool’s action callbacks.
- Represents task pool error type.