MCPcopy Index your code
hub / github.com/Effect-TS/effect / updateTaken

Method updateTaken

packages/effect/src/internal/effect/circular.ts:89–91  ·  view source on GitHub ↗
(f: (n: number) => number)

Source from the content-addressed store, hash-verified

87 }
88
89 updateTaken(f: (n: number) => number): Effect.Effect<number> {
90 return core.withFiberRuntime((fiber) => this.updateTakenUnsafe(fiber, f))
91 }
92
93 readonly resize = (permits: number) =>
94 core.asVoid(

Callers 1

SemaphoreClass · 0.95

Calls 1

updateTakenUnsafeMethod · 0.95

Tested by

no test coverage detected