Package: effect
Module: Deferred
Completes the deferred with the result of the specified effect. If the deferred has already been completed, the method will produce false.
Signature
declare const completeWith: { <A, E>(effect: Effect.Effect<A, E>): (self: Deferred<A, E>) => Effect.Effect<boolean>; <A, E>(self: Deferred<A, E>, effect: Effect.Effect<A, E>): Effect.Effect<boolean>; }
Since v2.0.0