Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for JavaScript (0.18 sec)

  1. docs/zh/docs/async.md

    ### 其他形式的异步代码
    
    这种使用 `async` 和 `await` 的风格在语言中相对较新。
    
    但它使处理异步代码变得容易很多。
    
    这种相同的语法(或几乎相同)最近也包含在现代版本的 JavaScript 中(在浏览器和 NodeJS 中)。
    
    但在此之前,处理异步代码非常复杂和困难。
    
    在以前版本的 Python,你可以使用多线程或者 <a href="https://www.gevent.org/" class="external-link" target="_blank">Gevent</a>。但代码的理解、调试和思考都要复杂许多。
    
    在以前版本的 NodeJS / 浏览器 JavaScript 中,你会使用"回调",因此也可能导致<a href="http://callbackhell.com/" class="external-link" target="_blank">回调地狱</a>。
    
    ## 协程
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    * Add docs for [self-serving docs' (Swagger UI) static assets](https://fastapi.tiangolo.com/advanced/extending-openapi/#self-hosting-javascript-and-css-for-docs), e.g. to use the docs offline, or without Internet. Initial PR [#557](https://github.com/tiangolo/fastapi/pull/557) by [@svalouch](https://github.com/svalouch).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top