Function onEveryAnimationFrame

Calls the given callback on every animation frame.

The returned Promise resolves when the callback is done (returns false).

v1.2.0