Package: effect
Module: Runtime
Runs the Effect, returning a JavaScript Promise that will be resolved
with the Exit state of the effect once the effect has been executed.
This method is effectful and should only be used at the edges of your program.
Signature
declare const runPromiseExit: { <R>(runtime: Runtime<R>): <A, E>(effect: Effect.Effect<A, E, R>, options?: { readonly signal?: AbortSignal; } | undefined) => Promise<Exit.Exit<A, E>>; <R, A, E>(runtime: Runtime<R>, effect: Effect.Effect<A, E, R>, options?: { readonly signal?: AbortSignal; } | undefined): Promise<Exit.Exit<A, E>>; }
Since v2.0.0