MCPcopy Create free account
hub / github.com/Effect-TS/effect / invalidateAll

Method invalidateAll

packages/effect/src/internal/scopedCache.ts:329–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327 }
328
329 get invalidateAll(): Effect.Effect<void> {
330 return fiberRuntime.forEachConcurrentDiscard(
331 HashSet.fromIterable(Array.from(this.cacheState.map).map(([key]) => key)),
332 (key) => this.invalidate(key),
333 false,
334 false
335 )
336 }
337
338 refresh(key: Key): Effect.Effect<void, Error> {
339 return pipe(

Callers

nothing calls this directly

Calls 2

invalidateMethod · 0.95
mapMethod · 0.65

Tested by

no test coverage detected