Function leptos::with_owner

source ·
pub fn with_owner<T>(owner: Owner, f: impl FnOnce() -> T) -> T
Expand description

Runs the given code with the given reactive owner.

§Panics

Panics if there is no current reactive runtime.