event_loop_future

Function event_loop_future 

Source
pub fn event_loop_future<T: 'static>(
    future: impl Future<Output = T> + 'static,
    write: WriteSignal<T>,
    write_finished: WriteSignal<bool>,
    trigger: ExtSendTrigger,
)
Expand description

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