advanceTimeBy

Moves the virtual clock of this dispatcher forward by the specified amount, running the tasks scheduled for currentTime()..<currentTime() + delayTimeMillis.

Throws

if passed a negative delay.


fun advanceTimeBy(delayTime: Duration)(source)

Moves the virtual clock of this dispatcher forward by the specified amount, running the tasks scheduled for timeSource.markNow()..<timeSource.markNow() + delayTime

Throws

if passed a negative delay.