effect-io-ai

Package: effect
Module: Micro

Micro.runPromiseExit

Execute the Micro effect and return a Promise that resolves with the MicroExit of the computation.

Signature

declare const runPromiseExit: <A, E>(effect: Micro<A, E>, options?: { readonly signal?: AbortSignal | undefined; readonly scheduler?: MicroScheduler | undefined; } | undefined) => Promise<MicroExit<A, E>>

Source

Since v3.4.6