MCPcopy Create free account
hub / github.com/Effect-TS/effect / layer

Function layer

packages/effect/src/unstable/cli/CliOutput.ts:259–259  ·  view source on GitHub ↗
(formatter: Formatter)

Source from the content-addressed store, hash-verified

257 * @since 4.0.0
258 */
259export const layer = (formatter: Formatter): Layer.Layer<never> => Layer.succeed(Formatter)(formatter)
260
261const escapeControlCharacters = (text: string): string =>
262 // oxlint-disable-next-line no-control-regex

Callers

nothing calls this directly

Calls 1

succeedMethod · 0.45

Tested by

no test coverage detected