dispatchAsyncTakeResult<R> method

Future<R> dispatchAsyncTakeResult<R>(
  1. BaseAsyncReduxActionWithResult<ReduxNotifier<T>, T, R> action, {
  2. String? debugOrigin,
})

Dispatches an asynchronous action and updates the state. Returns only the result of the action.

Implementation

Future<R> dispatchAsyncTakeResult<R>(
  BaseAsyncReduxActionWithResult<ReduxNotifier<T>, T, R> action, {
  String? debugOrigin,
}) {
  return notifier.dispatchAsyncTakeResult(action, debugOrigin: debugOrigin);
}