Package: effect
Module: Deferred
Fails the Deferred with the specified error, which will be propagated to
all fibers waiting on the value of the Deferred.
Signature
declare const fail: { <E>(error: E): <A>(self: Deferred<A, E>) => Effect.Effect<boolean>; <A, E>(self: Deferred<A, E>, error: E): Effect.Effect<boolean>; }
Since v2.0.0