Virtualtimeschedulerbase(Tabsolute,

VirtualTimeSchedulerBase<TAbsolute, TRelative>.AdvanceBy Method

Advances the scheduler's clock by the specified relative time, running all work scheduled for that timespan.

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Sub AdvanceBy ( _
    time As TRelative _
)
'Usage
Dim instance As VirtualTimeSchedulerBase
Dim time As TRelative

instance.AdvanceBy(time)
public void AdvanceBy(
    TRelative time
)
public:
void AdvanceBy(
    TRelative time
)
member AdvanceBy : 
        time:'TRelative -> unit 
public function AdvanceBy(
    time : TRelative
)

Parameters

  • time
    Type: [TRelative](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)
    The relative time to advance the scheduler's clock by.

See Also

Reference

[VirtualTimeSchedulerBase<TAbsolute, TRelative> Class](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)

System.Reactive.Concurrency Namespace