runActionRunner<T> method

Future<T?> runActionRunner<T>(
  1. Callback<Future<T?>> runner, {
  2. bool throwException = false,
})

Sets the action to busy, runs the action and then sets it to not busy when completed.

rethrows Exception after setting action busy to false

Implementation

Future<T?> runActionRunner<T>(
  Callback<Future<T?>> runner, {
  bool throwException = false,
}) =>
    runBusyRunner<T>(
      runner,
      key: actionName,
      throwException: throwException,
    );