effect-io-ai

Package: effect
Module: Effect

Effect.consoleWith

Retreives the Console service from the context and provides it to the specified effectful function.

Signature

declare const consoleWith: <A, E, R>(f: (console: Console) => Effect<A, E, R>) => Effect<A, E, R>

Source

Since v2.0.0