Class DelaySubscription
Represents an operator that time-shifts the observable sequence by delaying the subscription by the specified time interval.
The DelaySubscription operator modifies the source sequence by pausing for the specified duration before subscribing to the original sequence. This has the effect of delaying the start of the sequence by the specified time interval.
DelaySubscription can be used to control the timing of initialization. Note that if a source is hot, delaying the start of the sequence will not preserve past data, since unlike Delay the DelaySubscription operator does not store or have access to any historical data.
Examples
Use DelaySubscription to postpone initialization of an observable sequence.
Related Operators
Use Delay to access past data from hot sequences or delay notifications of an observable sequence.
public class DelaySubscription : Combinator
- Inheritance
-
DelaySubscription
- Inherited Members
Properties
- DueTime
Gets or sets the time interval by which to delay the subscription to the sequence.
Methods
- Process<TSource>(IObservable<TSource>)
Time-shifts the observable sequence by delaying the subscription by the specified time interval.