effect-io-ai

Package: effect
Module: TxDeferred

TxDeferred.await

Reads the deferred value. Retries the transaction if the deferred has not been completed yet.

When to use

Use to read the success value of a TxDeferred while retrying until the deferred is completed.

See

Signature

declare const await: <A, E>(self: TxDeferred<A, E>) => Effect.Effect<A, E>

Source

Since v4.0.0