Function waitForSubsequentMutateTime

Returns a Promise that is resolved before the repaint that follows the next repaint.