mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 13:37:57 +00:00
Add documentation around FRAME Offchain workers (#3463)
- deprecation companion: https://github.com/substrate-developer-hub/substrate-docs/pull/2136 - inspired by https://substrate.stackexchange.com/questions/11058/how-can-i-create-ocw-that-wont-activates-every-block-but-will-activates-only-w/11060#11060 --------- Co-authored-by: Sergej Sakac <73715684+Szegoo@users.noreply.github.com>
This commit is contained in:
@@ -446,7 +446,7 @@ pub trait Hooks<BlockNumber> {
|
||||
}
|
||||
|
||||
/// Implementing this function on a pallet allows you to perform long-running tasks that are
|
||||
/// dispatched as separate threads, and entirely independent of the main wasm runtime.
|
||||
/// dispatched as separate threads, and entirely independent of the main blockchain execution.
|
||||
///
|
||||
/// This function can freely read from the state, but any change it makes to the state is
|
||||
/// meaningless. Writes can be pushed back to the chain by submitting extrinsics from the
|
||||
|
||||
Reference in New Issue
Block a user