https://github.com/johnapache/promise-aplus-impl
自主实现 符合 Promise/A+ 规范的 Promise, 通过了 promises-aplus-tests 的所有测试用例
https://github.com/johnapache/promise-aplus-impl
promise promises-aplus-tests typescript
Last synced: 9 months ago
JSON representation
自主实现 符合 Promise/A+ 规范的 Promise, 通过了 promises-aplus-tests 的所有测试用例
- Host: GitHub
- URL: https://github.com/johnapache/promise-aplus-impl
- Owner: JohnApache
- License: mit
- Created: 2020-09-01T08:31:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T13:00:27.000Z (almost 6 years ago)
- Last Synced: 2025-03-26T09:19:22.039Z (over 1 year ago)
- Topics: promise, promises-aplus-tests, typescript
- Language: TypeScript
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Promise-Aplus-Impl
> 使用 `typescript` 自定义实现了一个符合 `Promise/A+` 规范的 `Promise` 代码, 并通过了 所有 `promises-aplus-tests` 测试用例
- [示例](#示例)
- [建议](#建议)
- [License](#license)
## 示例
```js
// 运行 promises-aplus-tests 测试用例
$ npm run test:mocha
$ yarn test:mocha
```
## 建议
欢迎创建issue 或者 pr [here](https://github.com/JohnApache/promise-aplus-impl/issues).
## License
[MIT](LICENSE)