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

    语法 返回 Promise 对象 Promise 对象的状态变化 await 命令 错误处理 使用注意点 语法 async 函数的语法规则总体上比较简单,难点是错误处理机制。 返回 Promise 对象 async 函数返回一个 Promise 对象。 async 函数内部return 语句返回的值,会成为then 方法回调函数的参...
  • 第一部分: 半协程调度器

    第一部分: 半协程调度器 第一部分: 半协程调度器 谈及koa(1.x)首先得说co,co与Promise是JSer在解决回调地狱(callback hell)问题前仆后继的众多产物之一。 co其实是Generator的自动执行器(半协程调度器): 通过yield显式操纵控制流让我们可以做到以近乎同步的方式书写非阻塞代码。 Promise是一套比...
  • Assertions

    305 2022-01-19 《Deno v1.17.2 Manual》
    Assertions Assert Exists Equality Contains Regex Object Throws Custom Messages Custom Tests Assertions To help developers write tests the Deno standard library comes wi...
  • Assertions

    170 2022-02-21 《Deno v1.18.2 Manual》
    Assertions Assert Exists Equality Contains Regex Object Throws Custom Messages Custom Tests Assertions To help developers write tests the Deno standard library comes wi...
  • API stability

    API stability What “stable” means Stable APIs Exceptions Security fixes APIs marked as internal API stability Django promises API stability and forwards-compatibility sinc...
  • Assertions

    317 2022-01-19 《Deno v1.17.3 Manual》
    Assertions Assert Exists Equality Contains Regex Object Throws Custom Messages Custom Tests Assertions To help developers write tests the Deno standard library comes wi...
  • Assertions

    217 2022-02-21 《Deno v1.18.0 Manual》
    Assertions Assert Exists Equality Contains Regex Object Throws Custom Messages Custom Tests Assertions To help developers write tests the Deno standard library comes wi...
  • Assertions

    204 2022-02-21 《Deno v1.18.1 Manual》
    Assertions Assert Exists Equality Contains Regex Object Throws Custom Messages Custom Tests Assertions To help developers write tests the Deno standard library comes wi...
  • Assertions

    226 2021-11-07 《Deno v1.15.2 Manual》
    Assertions Assert Exists Equality Contains Regex Object Throws Custom Messages Custom Tests Assertions To help developers write tests the Deno standard library comes wi...
  • Assertions

    155 2021-11-07 《Deno v1.14.3 Manual》
    Assertions Assert Exists Equality Contains Regex Object Throws Custom Messages Custom Tests Assertions To help developers write tests the Deno standard library comes wi...