Package: effect
Module: Latch
Opens the latch and releases fibers waiting on it.
When to use
Use to open a latch and release all fibers that are waiting on it.
Details
The returned effect succeeds with true when this call changed the latch
from closed to open, or false if it was already open.
See
openUnsafe for a synchronous variantrelease to release waiting fibers without opening the latchSignature
declare const open: (self: Latch) => Effect.Effect<boolean>
Since v4.0.0