Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
9eb6da5c
Commit
9eb6da5c
authored
4 years ago
by
Dan Forbes
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Basic documentation for Scheduler pallet (#6338)
Closes #5912
parent
5b324264
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
substrate/frame/scheduler/src/lib.rs
+17
-19
17 additions, 19 deletions
substrate/frame/scheduler/src/lib.rs
with
17 additions
and
19 deletions
substrate/frame/scheduler/src/lib.rs
+
17
−
19
View file @
9eb6da5c
...
...
@@ -16,31 +16,29 @@
// limitations under the License.
//! # Scheduler
//! A module for scheduling dispatches.
//!
//! \# Scheduler
//! - [`scheduler::Trait`](./trait.Trait.html)
//! - [`Call`](./enum.Call.html)
//! - [`Module`](./struct.Module.html)
//!
//! - \[`scheduler::Trait`](./trait.Trait.html)
//! - \[`Call`](./enum.Call.html)
//! - \[`Module`](./struct.Module.html)
//! ## Overview
//!
//! \## Overview
//! This module exposes capabilities for scheduling dispatches to occur at a
//! specified block number or at a specified period. These scheduled dispatches
//! may be named or anonymous and may be canceled.
//!
//! // Short description of pallet's purpose.
//! // Links to Traits that should be implemented.
//! // What this pallet is for.
//! // What functionality the pallet provides.
//! // When to use the pallet (use case examples).
//! // How it is used.
//! // Inputs it uses and the source of each input.
//! // Outputs it produces.
//! ## Interface
//!
//!
\
##
Terminology
//!
#
##
Dispatchable Functions
//!
//! \## Goals
//!
//! \## Interface
//!
//! \### Dispatchable Functions
//! * `schedule` - schedule a dispatch, which may be periodic, to occur at a
//! specified block and with a specified priority.
//! * `cancel` - cancel a scheduled dispatch, specified by block number and
//! index.
//! * `schedule_named` - augments the `schedule` interface with an additional
//! `Vec<u8>` parameter that can be used for identification.
//! * `cancel_named` - the named complement to the cancel function.
// Ensure we're `no_std` when compiling for Wasm.
#![cfg_attr(not(feature
=
"std"
),
no_std)]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment