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

Method openUnsafe

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

* Opens the latch synchronously, releasing all fibers waiting on it. * * **When to use** * * Use when synchronous code must open the latch immediately.

(this: Latch)

Source from the content-addressed store, hash-verified

67 * Use when synchronous code must open the latch immediately.
68 */
69 openUnsafe(this: Latch): boolean
70
71 /**
72 * Releases all fibers currently waiting on the latch without opening it.

Callers 15

makeGatedFunction · 0.65
destroyFunction · 0.65
runFunction · 0.65
onReadableFunction · 0.65
onErrorFunction · 0.65
onEndFunction · 0.65
_readMethod · 0.65
handleResponseFunction · 0.65
Atom.test.tsFile · 0.65
openUnsafeFunction · 0.65
Pool.tsFile · 0.65
Stream.tsFile · 0.65

Calls

no outgoing calls

Tested by 2

makeGatedFunction · 0.52
destroyFunction · 0.52