Function mio_misc::channel::crossbeam_channel_bounded[][src]

pub fn crossbeam_channel_bounded<T>(
    notifier: Arc<dyn Notifier>,
    id: NotificationId,
    size: usize
) -> (CrossbeamSender<T>, Receiver<T>)
Expand description

Creates a new synchronous/bounded crossbeam channel, where the Sender::send function, in addition to sending a message, triggers a notification on Poll