(self: ScopedCache<Key, A, E, R>)
| 681 | * @since 4.0.0 |
| 682 | */ |
| 683 | export const invalidateAll = <Key, A, E, R>(self: ScopedCache<Key, A, E, R>): Effect.Effect<void> => |
| 684 | core.withFiber((parent) => { |
| 685 | if (self.state._tag === "Closed") { |
| 686 | return effect.interrupt |
| 687 | } |
| 688 | return invalidateAllImpl(parent, self.state.map) |
| 689 | }) |
| 690 | |
| 691 | const invalidateAllImpl = <Key, A, E>( |
| 692 | parent: Fiber.Fiber<unknown, unknown>, |
nothing calls this directly
no test coverage detected