effect-io-ai

Package: effect
Module: STM

STM.check

Checks the condition, and if it’s true, returns unit, otherwise, retries.

Signature

declare const check: (predicate: LazyArg<boolean>) => STM<void>

Source

Since v2.0.0