Function script::script_thread::with_script_thread

source ยท
fn with_script_thread<R: Default>(f: impl FnOnce(&ScriptThread) -> R) -> R