Skip to main content

with_owner

Function with_owner 

Source
pub fn with_owner<R>(
    app: &AppHandle,
    f: impl FnOnce(&mut dyn History) -> R,
) -> Option<R>
Expand description

Runs f on the owner: the host’s, else a StoreHistory over the host’s store. None while the host dispatches a command.