referrerpolicy=no-referrer-when-downgrade

Module polkadot_sdk_frame::traits::schedule

Expand description

Traits and associated utilities for scheduling dispatchables in FRAME.

Modules§

Enums§

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

Constants§

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

Traits§

  • AnonDeprecated
    A type that can be used as a scheduler.
  • NamedDeprecated
    A type that can be used as a scheduler.

Type Aliases§

  • 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 with which a call is scheduled. It’s just a linear amount with lowest values meaning higher priority.