scheduleIteration method
Schedules a callback
to be executed while its return value is true
.
Implementation
@override
Disposable scheduleIteration(Predicate0 callback) {
while (callback()) {}
return const DisposedDisposable();
}
Schedules a callback
to be executed while its return value is true
.
@override
Disposable scheduleIteration(Predicate0 callback) {
while (callback()) {}
return const DisposedDisposable();
}