MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / cancel

Method cancel

src/utils/TaskSemaphore.ts:60–64  ·  view source on GitHub ↗

* Rejects all queued waiters and resets the waiting count to 0. * Does NOT release or alter any held permits — callers that already * received a release function must still call it. * The semaphore remains usable after cancellation.

()

Source from the content-addressed store, hash-verified

58 * The semaphore remains usable after cancellation.
59 */
60 cancel(): void {
61 this._waiting = 0
62 this._generation++
63 this.sem.cancel()
64 }
65}

Callers 3

disposeMethod · 0.45
ensureCleanStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected