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

Function launch

packages/effect/src/Layer.ts:2279–2280  ·  view source on GitHub ↗
(self: Layer<ROut, E, RIn>)

Source from the content-addressed store, hash-verified

2277 * @since 2.0.0
2278 */
2279export const launch = <RIn, E, ROut>(self: Layer<ROut, E, RIn>): Effect<never, E, RIn> =>
2280 internalEffect.scoped(internalEffect.andThen(build(self), internalEffect.never))
2281
2282/**
2283 * A utility type for creating partial mocks of services in testing.

Callers

nothing calls this directly

Calls 1

buildFunction · 0.70

Tested by

no test coverage detected