(self: Layer.Layer<A, E, R>)
| 583 | |
| 584 | /** @internal */ |
| 585 | export const fresh = <A, E, R>(self: Layer.Layer<A, E, R>): Layer.Layer<A, E, R> => { |
| 586 | const fresh = Object.create(proto) |
| 587 | fresh._op_layer = OpCodes.OP_FRESH |
| 588 | fresh.layer = self |
| 589 | return fresh |
| 590 | } |
| 591 | |
| 592 | /** @internal */ |
| 593 | export const fromEffect = dual< |