书栈网 · BookStack 本次搜索耗时 0.029 秒,为您找到 1242 个相关结果.
  • Reply

    Reply Introduction .code(statusCode) .header(key, value) .getHeader(key) .removeHeader(key) .hasHeader(key) .redirect(dest) .callNotFound() .getResponseTime() .type(conten...
  • 2.10 Catch unhandled promise rejections

    Catch unhandled promise rejections One Paragraph Explainer Code example: these errors will not get caught by any error handler (except unhandledRejection) Code example: Catching ...
  • Testing Asynchronous Code

    Testing Asynchronous Code Promises Async/Await Callbacks .resolves / .rejects Testing Asynchronous Code It’s common in JavaScript for code to run asynchronously. When you ...
  • Node.js compatibility mode

    300 2022-01-19 《Deno v1.16.2 Manual》
    Node.js compability mode Node.js built-in modules TypeScript support Node.js compability mode Starting with v1.15 Deno provides Node compatiblity mode that can be activated by...
  • Node.js compatibility mode

    294 2022-01-19 《Deno v1.16.1 Manual》
    Node.js compability mode Node.js built-in modules TypeScript support Node.js compability mode Starting with v1.15 Deno provides Node compatiblity mode that can be activated by...
  • Reply

    Reply Introduction .code(statusCode) .statusCode .header(key, value) .headers(object) .getHeader(key) .removeHeader(key) .hasHeader(key) .redirect(dest) .callNotFound() ....
  • Testing Asynchronous Code

    Testing Asynchronous Code Promises Async/Await Callbacks .resolves / .rejects Testing Asynchronous Code It’s common in JavaScript for code to run asynchronously. When you ...
  • 5种 yieldable

    5种 yieldable 5种 yieldable yieldable本来是没有这个词的,因为在Generator里可以是yield关键词,而yield后面接的有5种可能,故而把这些可以yield接的方式成为yieldable,即可以yield接的。 Promises Thunks (functions) array (parallel exec...
  • mergeAll

    mergeAll signature: mergeAll(concurrent: number): Observable Collect and subscribe to all observables. Examples Example 1: mergeAll with promises Example 2: mergeAll with concu...
  • Using with puppeteer

    Using with puppeteer Use jest-puppeteer Preset Custom example without jest-puppeteer preset Using with puppeteer With the Global Setup/Teardown and Async Test Environment AP...