pub fn effect_with(
scheduler: impl EffectScheduler + 'static,
f: impl Fn() + 'static,
) -> EffectHandleExpand description
Creates an effect in the current thread’s default reactor that is scheduled by scheduler
instead of the reactor’s microtask lane.
See Reactor::effect_with for the contract.