Function bevy_defer::sync::oneshot::channel

source ยท
pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Expand description

Creates a new one-shot channel for sending a single value across single threaded asynchronous tasks.