dispatch method

Future dispatch(
  1. T event
)

Invokes and awaits the event chain with an event.

Implementation

Future dispatch(T event) async {
  switch (mode) {
    case AsyncLineMode.parallel:
      _dispatchParallel(event);
      break;
    case AsyncLineMode.sequential:
      _dispatchSequential(event);
      break;
  }
}