runRxZoned<R> function

R runRxZoned<R>(
  1. RxAction<R> action, {
  2. RxRegistrar? registrar,
  3. RxNotifier? notifier,
})

Run action in an rx zone

Will call notifier if a notification is attempted within this zone. Will call registrar if a stream is registered within this zone.

Implementation

R runRxZoned<R>(
  RxAction<R> action, {
  RxRegistrar? registrar,
  RxNotifier? notifier,
}) {
  return runZoned(
    action,
    zoneValues: {
      _registrarKey: registrar,
      _notifierKey: notifier,
    },
  );
}