tinymist_query::upstream

Function with_vm

Source
pub fn with_vm<T>(
    world: Tracked<'_, dyn World + '_>,
    f: impl FnOnce(&mut Vm<'_>) -> T,
) -> T
Expand description

Run a function with a VM instance in the world