advanceTimeBy
Advances currentTime by duration.
Advances in frameDuration increments by default, rounding duration up to a whole frame. When ignoreFrameDuration is true, advances by exactly duration instead. Frames are sent at the normal frame cadence. Earlier state writes are recomposed and applied by the first frame. Coroutine delays use real time.
Parameters
duration
the composition time to add.
ignoreFrameDuration
true advances by exactly duration instead of rounding up to whole frames; frames still go out at the normal cadence; false by default.
Throws
if duration is negative or not finite.