interval property

Stream<int> get interval

Implementation

Stream<int> get interval async* {
  var count = 0;
  while (true) {
    await wait;
    yield count++;
  }
}