effect-io-ai

Package: effect
Module: Latch

Latch.isOpen

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.

Signature

declare const isOpen: (self: Latch) => boolean

Source

Since v4.0.0