Cheno是一个用ES6实现的Promise库
因为使用ES6开发,Cheno的Promise实现没有太多实用价值,ES6本身就有Promise。 除非编译为ES5,但是又会依赖babel-polyfill,代码体积会变大很多。
功能特性已通过Promise/A+官方全套的测试。
不建议拿去实际使用,纯粹为了学习Promise和ES6而开发。
搭建开发
npm install
测试
npm test
Just an implementation of Promise/A+ then with ES6 syntax , just to learning Promise and ES6.
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Please sign in to use Codespaces.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download Xcode and try again.
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Just an implementation of Promise/A+ then with ES6 syntax , just to learning Promise and ES6.