runWith<A extends Object, E extends Object> method

Future<ResultDart<A, E>> runWith<A extends Object, E extends Object>(
  1. Module module,
  2. Effect<A, E> effect, {
  3. String? executionLabel,
})

Run one Effect with an execution-scoped Module.

Implementation

Future<ResultDart<A, E>> runWith<A extends Object, E extends Object>(
  Module module,
  Effect<A, E> effect, {
  String? executionLabel,
}) {
  return runtime.runWith(module, effect, executionLabel: executionLabel);
}