Skip to main content

async_handler

Function async_handler 

Source
pub fn async_handler<F, Fut>(handler: F) -> UiEventHandler
where F: Fn(UiAsyncContext) -> Fut + Send + Sync + 'static, Fut: Future<Output = ()> + Send + 'static,