func
pub fn call_async<P: FnOnce() + Send + Sync + 'static>(func: P)
Calls func from another thread and passes user_data to it.
user_data
function to call asynchronously from another thread