8000 Release Subclassing and Deprecations · taylorhakes/promise-polyfill · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Subclassing and Deprecations

Compare
Choose a tag to compare
@taylorhakes taylorhakes released this 20 Jul 12:12
· 120 commits to master since this release

This allows subclassing Promise without rewriting functions

  • Promise._setImmediateFn(<immediateFn>) has been deprecated. Use Promise._immediateFn = <immediateFn>; instead.
  • Promise._setUnhandledRejectionFn(<rejectionFn>) has been deprecated. Use Promise._unhandledRejectionFn = <rejectionFn> instead.
    These functions will be removed in the next major version.
0