(console: A)
| 36 | |
| 37 | /** @internal */ |
| 38 | export const withConsoleScoped = <A extends Console.Console>(console: A): Effect.Effect<void, never, Scope.Scope> => |
| 39 | fiberRuntime.fiberRefLocallyScopedWith( |
| 40 | defaultServices.currentServices, |
| 41 | Context.add(defaultConsole.consoleTag, console) |
| 42 | ) |
| 43 | |
| 44 | /** @internal */ |
| 45 | export const setConsole = <A extends Console.Console>(console: A): Layer.Layer<never> => |