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

Function launch

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

Source from the content-addressed store, hash-verified

2205 * @since 2.0.0
2206 */
2207export const launch = <RIn, E, ROut>(self: Layer<ROut, E, RIn>): Effect<never, E, RIn> =>
2208 internalEffect.scoped(internalEffect.andThen(build(self), internalEffect.never))
2209
2210/**
2211 * 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