effect-io-ai

Package: effect
Module: Effect

Effect.withConsoleScoped

Sets the implementation of the console service to the specified value and restores it to its original value when the scope is closed.

Signature

declare const withConsoleScoped: <A extends Console>(console: A) => Effect<void, never, Scope.Scope>

Source

Since v2.0.0