pub type Effects = Arc<dyn Fn(Effect) + Send + Sync>;Expand description
Where a shard sends what it cannot do itself.
Called on the shard’s task, so an implementation must not block and must not await: the gateway’s own is a non-blocking send into the runtime’s mailbox.
Aliased Type§
pub struct Effects { /* private fields */ }