On Thursday, May 18, 2017 at 4:34:37 AM UTC-4, smaug wrote: > FWIW, I just yesterday suggested in #whatwg that the platform should have > something like IdlePromise or AsyncPromise. > And there is the related spec bug > https://github.com/whatwg/html/issues/512#issuecomment-171498578
In my opinion there's no need for a whole new promise subclass, just make requestIdleCallback() return a promise when there's no argument passed. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform