MCPcopy
hub / github.com/Effect-TS/effect / invalidate

Method invalidate

packages/effect/src/internal/keyedPool.ts:48–50  ·  view source on GitHub ↗
(item: A)

Source from the content-addressed store, hash-verified

46 return core.flatMap(this.getOrCreatePool(key), pool.get)
47 }
48 invalidate(item: A): Effect.Effect<void> {
49 return core.flatMap(this.activePools, core.forEachSequentialDiscard((pool) => pool.invalidate(item)))
50 }
51 pipe() {
52 return pipeArguments(this, arguments)
53 }

Callers

nothing calls this directly

Calls 1

invalidateMethod · 0.65

Tested by

no test coverage detected