Module tasks

Source
Expand description

Contains the Task trait, which defines a general-purpose way for defining and executing service work, and supporting types.

Traitsยง

Task
A general-purpose trait which defines a type of service work (i.e., work to performed by an off-chain worker) including methods for enumerating, validating, indexing, and running tasks of this type.