Effect.lazy constructor

Effect.lazy(
  1. void _fn()?
)

Creates a new Effect without executing the callback function immediately.

Implementation

Effect.lazy(this._fn) : _cleanupFn = null;