(self: Cache<Key, A, E, R>)
| 1233 | * @since 4.0.0 |
| 1234 | */ |
| 1235 | export const invalidateAll = <Key, A, E, R>(self: Cache<Key, A, E, R>): Effect.Effect<void> => |
| 1236 | effect.sync(() => { |
| 1237 | MutableHashMap.clear(self.map) |
| 1238 | }) |
| 1239 | |
| 1240 | /** |
| 1241 | * Retrieves the approximate number of entries in the cache. |