Skip to main content

async_handler_with

Function async_handler_with 

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