书栈网 · BookStack 本次搜索耗时 0.018 秒,为您找到 1242 个相关结果.
  • 38.异步函数

    38.异步函数 38.1。异步功能:基础知识 38.1.1。异步构造 38.1.2。异步函数总是返回 Promises 38.1.3。返回的 Promise 没有包装 38.1.4。 await :与 Promises 合作 38.1.5。 await 并兑现了 Promise 38.1.6。 await 并拒绝 Promise 38.2。术语...
  • Async Flow

    645 2019-06-02 《Redux Document》
    Async Flow Next Steps Async Flow Without middleware , Redux store only supports synchronous data flow . This is what you get by default with createStore() . You may enhance ...
  • Promise

    1080 2018-03-01 《一起学 Node.js》
    深入 Promise 网上已经有许多关于 Promise 的资料了,这里不在赘述。以下 4 个链接供读者学习: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise (基础) http://liubin.org/promise...
  • LanguageProvider

    LanguageProvider class datasource property request property start property startTask property LanguageProvider class Signature declare abstract class LanguageProvider...
  • LanguageProvider

    LanguageProvider class datasource property request property start property startTask property LanguageProvider class Signature declare abstract class LanguageProvider...
  • Getting Started

    Getting Started Installing Connecting to a database Testing the connection Closing the connection Terminology convention Tip for reading the docs New databases versus existin...
  • Errors

    Errors Error Handling In Node.js Uncaught Errors Catching Errors In Promises Errors In Fastify Errors In Input Data Catching Uncaught Errors In Fastify Errors In Fastify Life...
  • Jobs

    Jobs Jobs As of ES6, there’s a new concept layered on top of the event loop queue, called the “Job queue.” The most likely exposure you’ll have to it is with the asynchronous b...
  • Testing Asynchronous Code

    Callbacks Promises .resolves / .rejects Async/Await It's common in JavaScript for code to run asynchronously. When you have code that runs asynchronously, Jest needs to know w...
  • mongoose+promise

    mongoose + 异步流程处理 万恶的callback 内置Promises:mpromise Queries are not promises 使用其他 Promises 库 MongoDB驱动的promise bluebird promisifyAll 原理 具体实例 步骤说明 测试代码 总结:东西虽好,但不要滥用 genera...