scheduler
cancel(when: u32, index: u32)
interface:
scheduler.cancelsummary: Cancel an anonymously scheduled task.
cancelNamed(id: [u8;32])
interface:
scheduler.cancelNamedsummary: Cancel a named scheduled task.
cancelRetry(task: (u32,u32))
interface:
scheduler.cancelRetrysummary: Removes the retry configuration of a task.
cancelRetryNamed(id: [u8;32])
interface:
scheduler.cancelRetryNamedsummary: Cancel the retry configuration of a named task.
schedule(when: u32, maybe_periodic: Option<(u32,u32)>, priority: u8, call: Call)
interface:
scheduler.schedulesummary: Anonymously schedule a task.
scheduleAfter(after: u32, maybe_periodic: Option<(u32,u32)>, priority: u8, call: Call)
interface:
scheduler.scheduleAftersummary: Anonymously schedule a task after a delay.
scheduleNamed(id: [u8;32], when: u32, maybe_periodic: Option<(u32,u32)>, priority: u8, call: Call)
interface:
scheduler.scheduleNamedsummary: Schedule a named task.
scheduleNamedAfter(id: [u8;32], after: u32, maybe_periodic: Option<(u32,u32)>, priority: u8, call: Call)
interface:
scheduler.scheduleNamedAftersummary: Schedule a named task after a delay.
setRetry(task: (u32,u32), retries: u8, period: u32)
interface:
scheduler.setRetrysummary: Set a retry configuration for a task so that, in case its scheduled run fails, it will be retried after
periodblocks, for a total amount ofretriesretries or until it succeeds.Tasks which need to be scheduled for a retry are still subject to weight metering and agenda space, same as a regular task. If a periodic task fails, it will be scheduled normally while the task is retrying.
Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones of the original task. Their retry configuration will be derived from the original task’s configuration, but will have a lower value for
remainingthan the originaltotal_retries.
setRetryNamed(id: [u8;32], retries: u8, period: u32)
interface:
scheduler.setRetryNamedsummary: Set a retry configuration for a named task so that, in case its scheduled run fails, it will be retried after
periodblocks, for a total amount ofretriesretries or until it succeeds.Tasks which need to be scheduled for a retry are still subject to weight metering and agenda space, same as a regular task. If a periodic task fails, it will be scheduled normally while the task is retrying.
Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones of the original task. Their retry configuration will be derived from the original task’s configuration, but will have a lower value for
remainingthan the originaltotal_retries.