Function workflow_core::channel::oneshot

source ·
pub fn oneshot<T>() -> (Sender<T>, Receiver<T>)
Expand description

Creates a oneshot channel (bounded channel with a limit of 1 message)