Function mio_misc::channel::sync_channel[][src]

pub fn sync_channel<T>(
    notifier: Arc<dyn Notifier>,
    id: NotificationId,
    bound_size: usize
) -> (SyncSender<T>, Receiver<T>)
Expand description

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