Rx.Observable.delayWithSelector([subscriptionDelay], delayDurationSelector)

Time shifts the observable sequence by dueTime. The relative time intervals between the values are preserved.

参数

  1. [subscriptionDelay] (Observable): Sequence indicating the delay for the subscription to the source.
  2. delayDurationSelector (Function): Selector function to retrieve a sequence indicating the delay for each given element.

返回值

(Observable): Time-shifted sequence.

With subscriptionDelay

Without subscriptionDelay