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

Method invalidate

packages/effect/src/Pool.ts:45–45  ·  view source on GitHub ↗

* Invalidates the specified item. This will cause the pool to eventually * reallocate the item, although this reallocation may occur lazily rather * than eagerly.

(item: A)

Source from the content-addressed store, hash-verified

43 * than eagerly.
44 */
45 invalidate(item: A): Effect.Effect<void>
46
47 readonly [Unify.typeSymbol]?: unknown
48 readonly [Unify.unifySymbol]?: PoolUnify<this>

Callers 14

cacheInvalidateFunction · 0.65
makeFunction · 0.65
KeyedPool.test.tsFile · 0.65
RcMap.test.tsFile · 0.65
Pool.test.tsFile · 0.65
pool.tsFile · 0.65
invalidateMethod · 0.65
keyedPool.tsFile · 0.65
makeFunction · 0.65
invalidateFunction · 0.65
EntityResource.tsFile · 0.65

Implementers 4

CacheImplpackages/effect/src/internal/cache.ts
PoolImplpackages/effect/src/internal/pool.ts
ScopedCacheImplpackages/effect/src/internal/scopedCac
KeyedPoolImplpackages/effect/src/internal/keyedPool

Calls

no outgoing calls

Tested by

no test coverage detected