runActionFuture<T> method
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?> runActionFuture<T>(
Future<T?> future, {
bool throwException = false,
}) =>
runBusyFuture<T>(
future,
key: actionName,
throwException: throwException,
);