A lightweight (< 100 LOC in main program) implementation of Promises/A+ (indexed on 2017/12/23).
$ npm install --save @hengwu/promises-aplus
- then
- catch
- done
- finally
- resolve
- reject
- resolve, resolved
- reject, rejected
- deferred
- all
- race
$ npm run test
The test suite is provided by promises-aplus/promises-tests.
- https://promisesaplus.com/
- https://www.promisejs.org/api/
- https://github.com/abdulapopoola/Adehun
Copyright © 2017-present, shenfe