# cy_promise **Repository Path**: be-busy-day-and-night/cy_promise ## Basic Information - **Project Name**: cy_promise - **Description**: A asynchronous solution - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-22 - **Last Updated**: 2022-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cy_promise #### 介绍 一个异步解决方案包 #### 软件架构 软件架构说明 #### 安装教程 1. npm install cy_promise 2. npm i cy_promise 3. xxxx #### 使用说明 1. new CYPromise(executor:(resolve,reject)=>{}),调用构造函数返回一个CYPromise实例对象 ![创建CYPromise对象](https://foruda.gitee.com/images/1663847512196085196/8fff50d0_9350579.png "屏幕截图") 2. 实例方法有then、catch、finally 3. 静态方法有resolve、reject、all、allSettled、race、any 注意:上述的所有方法实现效果基本和原生Promise方法相同 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)