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

Function resize

repos/effect/packages/effect/src/Pool.ts:542–543  ·  view source on GitHub ↗
(self: Pool<A, E>)

Source from the content-addressed store, hash-verified

540 self.state.available.delete(poolItem)
541 return Effect.void
542 })
543
544const resize = <A, E>(self: Pool<A, E>): Effect.Effect<void> =>
545 self.state.resizeSemaphore.withPermits(1)(resizeLoop(self))
546

Callers 3

makeWithStrategyFunction · 0.85
Pool.tsFile · 0.85
invalidatePoolItemFunction · 0.85

Calls 2

resizeLoopFunction · 0.85
withPermitsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…