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.