fedimint_core

Module task

Source
Expand description

Task handling, including wasm safe logic

Re-exports§

pub use crate::runtime::*;

Modules§

inner 🔒
jit
Just-in-time initialization
waiter
Wait for a task to finish.

Structs§

Cancelled
An error used as a “cancelled” marker in Cancellable.
ShuttingDownError
TaskGroup
A group of task working together
TaskHandle
TaskPanicGuard 🔒
TaskShutdownToken

Traits§

MaybeSend
MaybeSend is no-op on wasm and Send on non wasm.
MaybeSync
MaybeSync is no-op on wasm and Sync on non wasm.

Functions§

sleep_in_test

Type Aliases§

Cancellable
Operation that can potentially get cancelled returning no result (e.g. program shutdown).