Created
August 31, 2017 09:23
-
-
Save trustedtomato/aed8437e6ba768027dade774b47886a7 to your computer and use it in GitHub Desktop.
requestAnimationFrame Promise
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const waitFrame = () => new Promise(requestAnimationFrame); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment