Package: effect
Module: Effect
Executes an effect asynchronously and handles the result using a callback.
Details
This function runs an effect asynchronously and passes the result (Exit) to
a specified callback. The callback is invoked with the outcome of the effect:
When to Use
This function is effectful and should only be invoked at the edges of your program.
Signature
declare const runCallback: <A, E>(effect: Effect<A, E>, options?: Runtime.RunCallbackOptions<A, E> | undefined) => Runtime.Cancel<A, E>
Since v2.0.0