书栈网 · BookStack 本次搜索耗时 0.037 秒,为您找到 1242 个相关结果.
  • 2.7. Promise和数组

    2.7. Promise和数组 2.7.1. 通过回调方式来进行多个异步调用 2.7.2. 使用Promise#then同时处理多个异步请求 2.7. Promise和数组 到目前为止我们已经学习了如何通过 .then 和 .catch 来注册回调函数,这些回调函数会在promise对象变为 FulFilled 或 Rejected 状态之后被...
  • Guides

    Guides Mongoose Core Concepts Advanced Topics Integrations Migration Guides Guides Mongoose guides provide detailed tutorials on Mongoose’s core concepts and integrating Mon...
  • Reply

    Reply Introduction .code(statusCode) .statusCode .header(key, value) .headers(object) .getHeader(key) .getHeaders() .removeHeader(key) .hasHeader(key) .redirect([code ,] d...
  • Reply

    Reply Introduction .code(statusCode) .statusCode .server .header(key, value) .headers(object) .getHeader(key) .getHeaders() .removeHeader(key) .hasHeader(key) .redirect([...
  • Reply

    Reply Introduction .code(statusCode) .statusCode .header(key, value) .headers(object) .getHeader(key) .getHeaders() .removeHeader(key) .hasHeader(key) .redirect([code ,] d...
  • An Async Example

    .resolves async/await 错误处理 .rejects 首先, 像 Getting Started 里面所说的那样, 启用babel的支持 Let's implement a module that fetches user data from an API and returns the user name. // user...
  • An Async Example

    .resolves 仅用于jest 20.0.0+ async/await 错误处理 .rejects 仅用于jest 20.0.0+ 首先, 像 Getting Started 里面所说的那样, 启用babel的支持 Let's implement a module that fetches user data from an API a...
  • Appendix B: Advanced Async Patterns

    Appendix B: Advanced Async Patterns Appendix B: Advanced Async Patterns Appendix A introduced the asynquence library for sequence-oriented async flow control, primarily based o...
  • Reply

    Reply Introduction .code(statusCode) .statusCode .server .header(key, value) .headers(object) .getHeader(key) .getHeaders() .removeHeader(key) .hasHeader(key) .redirect([...
  • Reply

    Reply Introduction .code(statusCode) .statusCode .header(key, value) .headers(object) .getHeader(key) .getHeaders() .removeHeader(key) .hasHeader(key) .redirect([code ,] d...