advanceTimeByFrame
Sends one frame at the normal frame cadence, advancing currentTime by frameDuration, and returns once the frame's effects have propagated as far as they can without another one. Earlier state writes are recomposed and applied by this frame.
Sends one frame after duration has elapsed on the clock. Earlier state writes are recomposed and applied by this frame.
Parameters
duration
the composition time to add before sending the frame.
Throws
if duration is negative or not finite.