Module schedule

Source
Expand description

Traits and associated utilities for scheduling dispatchables in FRAME.

Re-exports§

pub use v1::*;Deprecated

Modules§

v1Deprecated
v2Deprecated
v3

Enums§

DispatchTime
The dispatch time of a scheduled task.
LookupError
Error type for MaybeHashed::lookup.
MaybeHashed
Type representing an encodable value or the hash of the encoding of such a value.

Constants§

HARD_DEADLINE
Anything of this value or lower will definitely be scheduled on the block that they ask for, even if it breaches the MaximumWeight limitation.
HIGHEST_PRIORITY
The highest priority. We invert the value so that normal sorting will place the highest priority at the beginning of the list.
LOWEST_PRIORITY
The lowest priority. Most stuff should be around here.

Type Aliases§

Period
Information relating to the period of a scheduled task. First item is the length of the period and the second is the number of times it should be executed in total before the task is considered finished and removed.
Priority
Priority with which a call is scheduled. It’s just a linear amount with lowest values meaning higher priority.