pub fn as_child_of_current_scope<T, U>(
f: impl Fn(T) -> U + 'static,
) -> impl Fn(T) -> (U, Scope)where
T: 'static,👎Deprecated since 0.2.0: Use Scope::current().enter_child instead; this will be removed in a future release
Expand description
Wrap the closure so that whenever the closure runs, it will be under a child Scope of the current Scope