书栈网 · BookStack 本次搜索耗时 0.029 秒,为您找到 1242 个相关结果.
  • 测试异步代码

    回调 Promises .resolves / .rejects Async/Await 在JavaScript中执行异步代码是很常见的。 当你有以异步方式运行的代码时,Jest 需要知道当前它测试的代码是否已完成,然后它可以转移到另一个测试。 Jest有若干方法处理这种情况。 回调 最常见的异步模式是回调函数。 例如,假设您有一个 fe...
  • 测试异步代码

    回调 Promises .resolves / .rejects Async/Await 在JavaScript中执行异步代码是很常见的。 当你有以异步方式运行的代码时,Jest 需要知道当前它测试的代码是否已完成,然后它可以转移到另一个测试。 Jest有若干方法处理这种情况。 回调 最常见的异步模式是回调函数。 例如,假设您有一个 fe...
  • Transactions

    Managed transaction (auto-callback) Throw errors to rollback Automatically pass transactions to all queries Concurrent/Partial transactions Without CLS enabled Isolation level...
  • Reply

    Reply Reply Introduction .code(statusCode) .elapsedTime .statusCode .server .header(key, value) set-cookie .headers(object) .getHeader(key) .getHeaders() .removeHeader(ke...
  • 7.1 to 7.2

    No Rolling Updates Database Updates Full Distribution Camunda Libraries and Applications Custom Process Applications Application with Embedded Process Engine Basic Procedure U...
  • Telemetry in KubeSphere

    Telemetry in KubeSphere What Information Is Collected Disable Telemetry Disable Telemetry before installation Disable Telemetry after installation Telemetry in KubeSphere T...
  • Telemetry in KubeSphere

    Telemetry in KubeSphere What Information Is Collected Disable Telemetry Disable Telemetry before installation Disable Telemetry after installation Telemetry in KubeSphere Te...
  • async function

    async function 警告 async function 我们在第四章的“Generators + Promises”中提到过,generatoryield 一个promise给一个类似运行器的工具,它会在promise完成时推进generator —— 有一个提案是要为这种模式提供直接的语法支持。让我们简要看一下这个被提出的特性,它称...
  • Telemetry in KubeSphere

    Telemetry in KubeSphere What Information Is Collected Disable Telemetry Disable Telemetry before installation Disable Telemetry after installation Telemetry in KubeSphere Te...
  • ES6 & Beyond

    ES6 & Beyond ES6 & Beyond No matter how much you feel you’ve mastered JavaScript to this point, the truth is that JavaScript is never going to stop evolving, and moreover, the ...