Skip to main content

call_async

Function call_async 

Source
pub fn call_async<P: FnOnce() + Send + Sync + 'static>(func: P)
Expand description

Calls func from another thread and passes user_data to it.

§func

function to call asynchronously from another thread