pub fn with_owner<R>(
app: &AppHandle,
f: impl FnOnce(&mut dyn Contexts) -> R,
) -> Option<R>Expand description
Runs f on the owner: the host’s, else the plugin’s LocalContexts.
None without the plugin, or while the host (owning the stack) runs a
command.