← effectLatch10Constructors2Models1Getters1Combinators4Unsafe2ConstructorsmakeconstCreates a Latch inside Effect.makeUnsafeconstCreates a Latch synchronously, outside of Effect.ModelsLatchinterfaceA reusable coordination primitive that lets fibers wait until they are released by the latch.GettersisOpenconstChecks whether the latch is currently open or closed.CombinatorscloseconstCloses the latch so future await and whenOpen calls suspend.openconstOpens the latch and releases fibers waiting on it.releaseconstReleases the fibers currently waiting on a closed latch without opening it.whenOpenconstWaits on the latch, then runs the provided effect.UnsafecloseUnsafeconstCloses the latch synchronously so future await and whenOpen calls suspend.openUnsafeconstOpens the latch synchronously and releases fibers waiting on it.