scheduleIteration method

  1. @override
Disposable scheduleIteration(
  1. Predicate0 callback
)
override

Schedules a callback to be executed while its return value is true.

Implementation

@override
Disposable scheduleIteration(Predicate0 callback) {
  final subscription = StatefulDisposable();
  _scheduleIteration(subscription, callback);
  return subscription;
}