withScope property

Effect<Scope<E>, L, R> withScope

{@category scoping}

Implementation

Effect<Scope<E>, L, R> get withScope => Effect<Scope<E>, L, R>.from(
      (ctx) => _unsafeRun(ctx.withEnv(ctx.env.env)),
    );