Not sure how you mean. The purpose of the while loop here is to immediately catch any newly-enqueued updates in the current tick rather than waiting for the rAF callback.