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

Function launch

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

Source from the content-addressed store, hash-verified

668
669/** @internal */
670export const launch = <RIn, E, ROut>(self: Layer.Layer<ROut, E, RIn>): Effect.Effect<never, E, RIn> =>
671 fiberRuntime.scopedEffect(
672 core.zipRight(
673 fiberRuntime.scopeWith((scope) => pipe(self, buildWithScope(scope))),
674 core.never
675 )
676 )
677
678/** @internal */
679export const mock: {

Callers

nothing calls this directly

Calls 1

pipeFunction · 0.70

Tested by

no test coverage detected