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

Method closeUnsafe

repos/effect/packages/effect/src/Latch.ts:105–105  ·  view source on GitHub ↗

* Closes the latch synchronously so future waiters suspend again. * * **When to use** * * Use when synchronous code must close the latch immediately.

(this: Latch)

Source from the content-addressed store, hash-verified

103 * Use when synchronous code must close the latch immediately.
104 */
105 closeUnsafe(this: Latch): boolean
106
107 /**
108 * Runs the given effect only after the latch allows waiting fibers to

Callers 15

runFunction · 0.65
readableToPullUnsafeFunction · 0.65
constructorMethod · 0.65
handleResponseFunction · 0.65
closeUnsafeFunction · 0.65
Pool.tsFile · 0.65
Channel.tsFile · 0.65
Stream.tsFile · 0.65
startFunction · 0.65
scopedFunction · 0.65
PersistedQueue.tsFile · 0.65
handleRequestFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected