This feature has been deprecated. Use queueMicrotask()
instead.
Load unpoly-migrate.js
to polyfill deprecated features.
Pushes the given function to the JavaScript microtask queue.
A promise that is resolved with the return value of task
.
If task
throws an error, the promise is rejected with that error.