( self: Effect.Effect<Layer.Layer<A, E1, R1>, E, R> )
| 1210 | |
| 1211 | /** @internal */ |
| 1212 | export const unwrapEffect = <A, E1, R1, E, R>( |
| 1213 | self: Effect.Effect<Layer.Layer<A, E1, R1>, E, R> |
| 1214 | ): Layer.Layer<A, E | E1, R | R1> => { |
| 1215 | const tag = Context.GenericTag<Layer.Layer<A, E1, R1>>("effect/Layer/unwrapEffect/Layer.Layer<R1, E1, A>") |
| 1216 | return flatMap(fromEffect(tag, self), (context) => Context.get(context, tag)) |
| 1217 | } |
| 1218 | |
| 1219 | /** @internal */ |
| 1220 | export const unwrapScoped = <A, E1, R1, E, R>( |
nothing calls this directly
no test coverage detected