event_loop_stream

Function event_loop_stream 

Source
pub fn event_loop_stream<T: 'static>(
    stream: impl Stream<Item = T> + 'static,
    write: WriteSignal<T>,
    write_finished: WriteSignal<bool>,
    trigger: ExtSendTrigger,
)
Expand description

Execute a stream on the main event loop by polling. The stream does not need to be Send.