effect-io-ai

Package: effect
Module: Deferred

Deferred.await

Retrieves the value of the Deferred, suspending the fiber running the workflow until the result is available.

Signature

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

Source

Since v2.0.0