pub fn channel<S: EngineSpec>() -> (Sender<Event<S>>, Receiver<Event<S>>)Expand description
Creates an MPSC channel suitable to be passed into the update engine.
This function is a convenience wrapper around
tokio::sync::mpsc::channel that creates a channel of the appropriate
size, and may aid in type inference.