Function leptos_reactive::spawn_local_with_current_owner

source ·
pub fn spawn_local_with_current_owner(
    fut: impl Future<Output = ()> + 'static,
) -> Result<(), ScopedFutureError>
Expand description

Runs a future that has access to the provided Owner’s scope context.

§Panics

Panics if there is no Owner context available.