rafq
Enqueue operations to be called in the next frame using requestAnimationFrame
.
Usage
; // Create a new requestAnimationFrame queueconst q = ; // Add an operation to the queueq; // Remove an operation from the queueq; // Clear the queue entirelyqclear;