摘要: Node.js异步编程 同步API,异步API 同步API:只有当前API执行完成后,才能继续执行下一个API console.log('before'); console.log('after'); 异步API:当前API的执行不会阻塞后续代码的执行 console.log('before'); 阅读全文
posted @ 2020-10-04 11:04 actorhuang 阅读(176) 评论(0) 推荐(0) 编辑