Skip to main content

queue

Function queue 

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

Queues f to run on Unity’s main thread on the next frame. Returns immediately without waiting for f to execute.