with_script_thread

Function with_script_thread 

Source
pub(crate) fn with_script_thread<R: Default>(
    f: impl FnOnce(&ScriptThread) -> R,
) -> R