Expand description
An async executor for ic-cdk. Most users should not use this crate directly.
Functionsยง
- in_
callback_ cancellation_ context - Execute an inter-canister-call callback in a context that allows calling
spawnand notifying wakers, but will cancel every awoken future. - in_
callback_ executor_ context - Execute an inter-canister-call callback in a context that allows calling
spawnand notifying wakers. - in_
executor_ context - Execute an update function in a context that allows calling
spawnand notifying wakers. - in_
query_ executor_ context - Execute a composite query function in a context that allows calling
spawnand notifying wakers. - is_
recovering_ from_ trap - Tells you whether the current async fn is being canceled due to a trap/panic.
- spawn
- Spawn an asynchronous task to run in the background.