- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for readResults (0.21 sec)
-
docs/zh/docs/async.md
如果你正在使用第三方库,它们会告诉你使用 `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 你只能在被 `async def` 创建的函数内使用 `await` ---
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 21.1K bytes - Viewed (0) -
docs/ko/docs/async.md
<strong>요약</strong> 다음과 같이 `await`를 사용해 호출하는 제3의 라이브러리를 사용하는 경우: ```Python results = await some_library() ``` 다음처럼 *경로 작동 함수*를 `async def`를 사용해 선언하십시오: ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` !!! note "참고" `async def`로 생성된 함수 내부에서만 `await`를 사용할 수 있습니다. ---
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 26.7K bytes - Viewed (0) -
docs/ja/docs/async.md
次のような、`await` を使用して呼び出すべきサードパーティライブラリを使用している場合: ```Python results = await some_library() ``` 以下の様に `async def` を使用して*path operation 関数*を宣言します。 ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` !!! note "備考" `async def` を使用して作成された関数の内部でしか `await` は使用できません。 ---
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 27.8K bytes - Viewed (0) -
src/net/http/server.go
func (srv *Server) newConn(rwc net.Conn) *conn { c := &conn{ server: srv, rwc: rwc, } if debugServerConnections { c.rwc = newLoggingConn("server", c.rwc) } return c } type readResult struct { _ incomparable n int err error b byte // byte read, if n == 1 } // connReader is the io.Reader wrapper used by *conn. It combines a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0)