Skip to main content

call

Function call 

Source
pub fn call<R: Send + 'static>(
    f: impl FnOnce() -> R + Send + 'static,
) -> Result<R>
Expand description

Runs f on Unity’s main thread and blocks the caller until the result is ready.