promises-aplus-robin is a lightweight Promises/A+ implementation that is able to detect circular thenable chain. Except for the features defined in the Promises/A+ Standard, more features can be found in the extended version.
- Promise/A+ standard
- detecting thenable cycle
-
MyPromise.prototype.catch
-
MyPromise.prototype.finally
-
MyPromise.resolve
-
MyPromise.reject
-
MyPromise.all
-
MyPromise.race
- ......
- raw version: promises-aplus-robin.js
- annotated version: promises-aplus-robin-annotated.js
- extended version: promises-aplus-robin-annotated.js
The implementation of Promise/A+ can be tested by promises-tests.
npm run test