- Sort Score
- Result 10 results
- Languages All
Results 41 - 42 of 42 for Dong (0.16 sec)
-
docs/zh/docs/async.md
# 并发 async / await 有关路径操作函数的 `async def` 语法以及异步代码、并发和并行的一些背景知识。 ## 赶时间吗? <abbr title="too long; didn't read(长文警告)"><strong>TL;DR:</strong></abbr> 如果你正在使用第三方库,它们会告诉你使用 `await` 关键字来调用它们,就像这样: ```Python results = await some_library() ``` 然后,通过 `async def` 声明你的 *路径操作函数*: ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` !!! note
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) -
docs/en/docs/deployment/docker.md
When a **container** is started, it will run that command/program (although you can override it and make it run a different command/program). A container is running as long as the **main process** (command or program) is running.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 34K bytes - Viewed (0)