run method

  1. @override
bool run(
  1. RxAction action, {
  2. bool notify = true,
})
override

Run action with registration and notifications disabled. Will notify after action is completed if notify is true and the child implementation decides a notification should be sent.

Returns true if a notification was attempted during action

Implementation

@override
bool run(RxAction action, {bool notify = true}) {
  final bool notified;
  if (notify) {
    notified = notifyIfChanged(() => super.run(action, notify: notify));
  } else {
    notified = super.run(action);
  }
  return notified;
}