A Typescript Promise implementation that can pass Promises/A+ tests
Note
Please note that Promise/A+ is slightly different from ECMA262 Promise, as the Promise/A+ cares more about the library interoperability. We can mostly say that Promise/A+ is a superset of ECMA262 Promise.
Most features of ECMAScript® 2025 have been implemented, including but not limited to:
- RPromise.all
- RPromise.allSettled
- RPromise.any
- RPromise.race
- RPromise.withResolvers
- Unhandled Rejection Callbacks
Please note that the TypeScript definitions for these features may differ slightly from those found in TypeScript's built-in definitions (e.g. lib.esXXXX.promise.d.ts
).