pub fn cancel<T: Config>(when: BlockNumberFor<T>, index: u32)Expand description
Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for execution in, as well as the index of the task in that block’s agenda.
In the case of a named task, it will remove it from the lookup table as well.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cancel.