Module gear_common::scheduler

source ·
Expand description

Module for scheduler implementation.

Scheduler provides API for all available regular or time-dependent actions.


  • TaskPool implementation based on DoubleMapStorage.


  • Scheduled task sense and required data for processing action.
  • 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.