( tagA: Context.Tag<I1, S1>, tagB: Context.Tag<I2, S2>, f: (a: Types.NoInfer<S1>) => Types.NoInfer<S2> )
| 660 | |
| 661 | /** @internal */ |
| 662 | export const fromFunction = <I1, S1, I2, S2>( |
| 663 | tagA: Context.Tag<I1, S1>, |
| 664 | tagB: Context.Tag<I2, S2>, |
| 665 | f: (a: Types.NoInfer<S1>) => Types.NoInfer<S2> |
| 666 | ): Layer.Layer<I2, never, I1> => fromEffectContext(core.map(tagA, (a) => Context.make(tagB, f(a)))) |
| 667 | |
| 668 | /** @internal */ |
| 669 | export const launch = <RIn, E, ROut>(self: Layer.Layer<ROut, E, RIn>): Effect.Effect<never, E, RIn> => |
nothing calls this directly
no test coverage detected