runToExit<A, E, R> method

Future<Exit<A, E>> runToExit<A, E, R>(
  1. Effect<A, E, R> effect, [
  2. Context<R>? context
])

Runs an effect and returns its Exit result

Implementation

Future<Exit<A, E>> runToExit<A, E, R>(
  Effect<A, E, R> effect, [
  Context<R>? context,
]) async {
  return effect.runToExit(context);
}