fedimint_core::task

Trait MaybeSend

Source
pub trait MaybeSend: Send { }
Expand description

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

On wasm, most types don’t implement Send because JS types can not sent between workers directly.

Implementors§

Source§

impl<T: Send> MaybeSend for T