1. 首页
  2. 数据库
  3. 其它
  4. 始终承诺:执行所有承诺无论它们是解决还是拒绝 源码

始终承诺:执行所有承诺无论它们是解决还是拒绝 源码

上传者: 2021-02-10 01:46:39上传 ZIP文件 6.55KB 热度 10次
永远保证 履行所有诺言,无论它们是解决还是拒绝 注意 此库的替代解决方案是 。 如果您的环境支持它,我建议您改为使用它。 安装 // Yarn yarn add promise-all-always // NPM npm install promise-all-always 例 const promiseAllAlways = require ( 'promise-all-always' ) ; // Even if second promise is rejected, the execution will continue // Use "result" property to recei
下载地址
用户评论