Function tether::dispatch [] [src]

pub fn dispatch<F: FnOnce(Window) + Send + 'static>(f: F)

Schedules the provided function to eventually run on the UI thread.

This is the only way to talk to the window from another thread.