Trait fedimint_core::task::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