积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(113)综合其他(108)Weblate(90)区块链(41)Python(38)PyWebIO(38)系统运维(32)数据库(25)httpd(17)TiDB(15)

语言

全部中文(简体)(304)

格式

全部PDF文档 PDF(190)其他文档 其他(114)
 
本次搜索耗时 0.126 秒,为您找到相关结果约 304 个.
  • 全部
  • 后端开发
  • 综合其他
  • Weblate
  • 区块链
  • Python
  • PyWebIO
  • 系统运维
  • 数据库
  • httpd
  • TiDB
  • 全部
  • 中文(简体)
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 JavaScript Promise迷你书(中文版)

    .................................................................................... 14 Promise.resolve ................................................................................................ ................................................................................... 56 Promise.resolve和Thenable ....................................................................................... .................................................................................. 107 Promise.resolve ................................................................................................
    0 码力 | 112 页 | 1010.02 KB | 1 年前
    3
  • pdf文档 阮一峰 《ECMAScript 6入门》 第三版

    Promise(function(resolve, reject) { // ... some code if (/* 异步操作成功 */){ resolve(value); } else { reject(error); } }); Promise 构造函数接受一个函数作为参数,该函数的两个参数分别 是 resolve 和 reject 。它们是两个函数,由 。它们是两个函数,由 JavaScript 引擎提供,不用自己部 署。 resolve 函数的作用是,将 Promise 对象的状态从“未完成”变为“成功”(即从 pending 变为 resolved),在异步操作成功时调用,并将异步操作的结果,作为参 数传递出去; reject 函数的作用是,将 Promise 对象的状态从“未完成”变为“失 败”(即从 pending 变为 rej 对象传出的值作为参数。 下面是一个 Promise 对象的简单例子。 function timeout(ms) { return new Promise((resolve, reject) => { setTimeout(resolve, ms, 'done'); }); } timeout(100).then((value) => { console.log(value);
    0 码力 | 679 页 | 2.66 MB | 1 年前
    3
  • pdf文档 Node.js Manual & Documentation

    Contents  Synopsis 概要  Global Objects 全局对象 o global o process o require() o require.resolve() o require.paths o __filename o __dirname o module  Timers 定时器 o setTimeout(callback [options])  Path 路径模块 o path.normalize(p) o path.join([path1], [path2], [...]) o path.resolve([from ...], to) o path.dirname(p) o path.basename(p, [ext]) o path.extname(p) o path.exists(p 模块 o dns.lookup(domain, family=null, callback) o dns.resolve(domain, rrtype='A', callback) o dns.resolve4(domain, callback) o dns.resolve6(domain, callback) o dns.resolveMx(domain, callback)
    0 码力 | 153 页 | 1.21 MB | 1 年前
    3
  • pdf文档 在 JavaScript 中的并行语言特性-周爱民

    置值之后该怎么办? 如何处理理重写? State Result Reactions1 Reactions2 Resolve 实例例 置值器器 Reject Resolving Functions Promise Instance { Promise.resolve('Hello World') .then(console.log); aPromise.then(func) then(func2, func3) Promise.resolve(x) var p = new PromiseInstnace(); var [resolve, reject] = ... of p; resolve(x); // p[[result]] = x; return p; ≈ p2 = Promise.resolve(p) ≈ var p2 = new PromiseInstnace(); PromiseInstnace(); var [resolve, reject] = ... of p2; p.then(resolve, reject); // resolve(p); return p2; State Result Reactions1 Resolve Reject Reactions2 p = Promise.resolve(x) p2 = p.then(f) JS 类 对象 构造器
    0 码力 | 41 页 | 8.61 MB | 1 年前
    3
  • pdf文档 NodeJS 中文文档 V0.2.3

    require('dns')来访问这个模块。 下面是一个先解析'www.google.com',然后将解析出来的 IP 地址再做反向解析。 var dns = require('dns'); dns.resolve4('www.google.com', function (err, addresses) { if (err) throw err; console.log('addresses: ' + IPv4或 IPv6的地址的字符串。family 是 一个表示地址版本的整形数字4或6(并不一定是解析域名时传递的数字)。 dns.resolve(domain, dns.resolve(domain, dns.resolve(domain, dns.resolve(domain, rrtype='A', rrtype='A', rrtype='A', rrtype='A', callback) callback) 的 message 属性是一个用英语表述的错误解释。 dns.resolve4(domain, dns.resolve4(domain, dns.resolve4(domain, dns.resolve4(domain, callback) callback) callback) callback) 与 dns.resolve()类似,但是仅对 IPV4地址进行查询(A records)。addresses
    0 码力 | 62 页 | 542.14 KB | 1 年前
    3
  • pdf文档 廖雪峰JavaScript教程

    alert('支持Promise!'); 我们先看一个最简单的Promise例子:生成一个0-2之间的随机数,如果小于1,则等待一段时间后返 回成功,否则返回失败: 1. function test(resolve, reject) { 2. var timeOut = Math.random() * 2; 3. log('set timeout to: ' + timeOut + ' setTimeout(function () { 5. if (timeOut < 1) { 6. log('call resolve()...'); 7. resolve('200 OK'); 8. } 9. else { 10. log('call reject(). test() 函数有两个参数,这两个参数都是函数,如果执行成功,我们将调用 resolve('200 OK') ,如果执行失败,我们将调用 reject('timeout in ' + timeOut + ' seconds.') 。可以看 出, test() 函数只关心自身的逻辑,并不关心具体的 resolve 和 reject 将如何处理结果。 6.6 Promise - 156
    0 码力 | 264 页 | 2.81 MB | 10 月前
    3
  • pdf文档 《玩转webpack》 第二章 基础篇: webpack 基础用法

    require('path'); module.exports = { entry: './src/index.js', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist') }, + module: { + rules: [ + { + test: /\.js$/, + require('path'); module.exports = { entry: './src/index.js', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist') }, + module: { + rules: [ + { + test: /\.css$/, + require('path'); module.exports = { entry: './src/index.js', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist') }, + module: { + rules: [ + { + test: /\.less$/, +
    0 码力 | 41 页 | 2.52 MB | 1 年前
    3
  • pdf文档 ThinkJS 1.2 中文文档

    socket.onopen = function(event) { deferred.resolve(socket); socket.onmessage = function(event) { }else{ deferred.resolve(body); } }) return deferred 该⻚页⾯面列举的函数都是全局函数,不⽤用 require 可以直接使⽤用。 ThinkJS 中的 Promise 使⽤用了 es6-promise 库,是个全局对象, 含有如下的⽅方法: all(array) resolve(promise | thenable | obj) reject(obj) race(array) superCls function ⽗父类 prop function | object
    0 码力 | 104 页 | 1.29 MB | 1 年前
    3
  • epub文档 Kotlin 1.9.10 官方文档 中文版

    directory was build/distributions . However, this is a common directory for Gradle archives. To resolve this issue, we've changed the default distribution target directory in Kotlin 1.9.0 to: build your projects include builds with a specified rootProject.name , composite builds may fail to resolve the Kotlin metadata. For the workaround and details, see this Youtrack issue. We encourage you warning for when this scenario is detected. The warning includes a possible migration path to resolve this issue. If you use such constructs in your code, we recommend updating them to the below: import
    0 码力 | 3753 页 | 29.69 MB | 1 年前
    3
  • pdf文档 Kotlin 官方文档中文版 v1.9

    directory was build/distributions . However, this is a common directory for Gradle archives. To resolve this issue, we've changed the default distribution target directory in Kotlin 1.9.0 to: build/ your projects include builds with a specified rootProject.name , composite builds may fail to resolve the Kotlin metadata. For the workaround and details, see this Youtrack issue. We encourage you to compiler warning for when this scenario is detected. The warning includes a possible migration path to resolve this issue. If you use such constructs in your code, we recommend updating them to the below: import
    0 码力 | 2049 页 | 45.06 MB | 1 年前
    3
共 304 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 31
前往
页
相关搜索词
JavaScriptPromise迷你中文文版中文版一峰ECMAScript入门第三第三版NodejsManualDocumentation并行语言特性爱民NodeJS文档V02.3雪峰教程玩转webpack第二二章第二章ThinkJS1.2Kotlin1.910官方
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩