MCPcopy Create free account
hub / github.com/effect-app/libs / Pool.ts

File Pool.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * Shares scoped resources across fibers.
3 *
4 * A `Pool<A, E>` acquires resource-backed values with a scoped effect, lets

Callers

nothing calls this directly

Calls 15

identityFunction · 0.90
targetSizeFunction · 0.85
activeSizeFunction · 0.85
resizeFunction · 0.85
invalidatePoolItemFunction · 0.85
offerMethod · 0.80
getRefMethod · 0.80
releaseMethod · 0.65
addMethod · 0.65
takeMethod · 0.65
openUnsafeMethod · 0.65

Tested by

no test coverage detected