effect-io-ai

Package: effect
Module: Effect

Effect.withConsole

Executes the specified workflow with the specified implementation of the console service.

Signature

declare const withConsole: { <C extends Console>(console: C): <A, E, R>(effect: Effect<A, E, R>) => Effect<A, E, R>; <A, E, R, C extends Console>(effect: Effect<A, E, R>, console: C): Effect<A, E, R>; }

Source

Since v2.0.0