EffectImpl.lazy constructor

EffectImpl.lazy(
  1. void fn(), {
  2. bool detach = false,
  3. JoltDebugOption? debug,
})

Implementation

factory EffectImpl.lazy(void Function() fn,
    {bool detach = false, JoltDebugOption? debug}) {
  return EffectImpl(fn, lazy: true, detach: detach, debug: debug);
}