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) {
  while (callback()) {}
  return const DisposedDisposable();
}