delayTime method

Observable<T> delayTime(
  1. Duration duration, {
  2. Scheduler? scheduler,
})

Delays the emission of items from this Observable by a given timeout.

Implementation

Observable<T> delayTime(Duration duration, {Scheduler? scheduler}) =>
    delay<int>(
        constantFunction1(timer(delay: duration, scheduler: scheduler)));