Hyperlinkv0.8.0-beta.28

Latch

Latch.isOpenconsteffect/Latch.ts:394
(self: Latch): boolean

Checks whether the latch is currently open or closed.

When to use

Use to check the state of the latch without suspending or changing its state.

getters
Source effect/Latch.ts:3941 lines
export const isOpen = (self: Latch): boolean => self.isOpen()