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

Function orDie

packages/effect/src/Layer.ts:1846–1847  ·  view source on GitHub ↗
(self: Layer<A, E, R>)

Source from the content-addressed store, hash-verified

1844 * @since 2.0.0
1845 */
1846export const orDie = <A, E, R>(self: Layer<A, E, R>): Layer<A, never, R> =>
1847 fromBuildUnsafe((memoMap, scope) => internalEffect.orDie(self.build(memoMap, scope)))
1848
1849const catch_: {
1850 <E, RIn2, E2, ROut2>(

Callers

nothing calls this directly

Calls 2

fromBuildUnsafeFunction · 0.85
buildMethod · 0.80

Tested by

no test coverage detected