TypeScript Promise implementation conformant with the PromiseA+ specification.
This implementation was written while studying the internal implementation of Promise. Do not use this implementation in your projects.
Implemented instance methods:
- then
- catch
- finally
Implemented static methods:
- resolve
- reject
- all
- allSettled
- race
- any
npm run test:aplus # run PromiseA+ tests.
npm run test:static # run tests for static methods.
npm run test # run all tests.