dispatchAsync method

Future<TracingState> dispatchAsync(
  1. AsynchronousReduxAction<TracingService, TracingState, dynamic> action, {
  2. String? debugOrigin,
})
inherited

Dispatches an asynchronous action and updates the state. Returns the new state.

Implementation

Future<T> dispatchAsync(
  AsynchronousReduxAction<N, T, dynamic> action, {
  String? debugOrigin,
}) {
  return _notifier.dispatchAsync(
    action,
    debugOrigin: debugOrigin ?? debugLabel,
    debugOriginRef: this,
  );
}