- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 424 for awaited (0.05 seconds)
-
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java
latch.countDown(); }).error(error -> { errorRef.set(error); latch.countDown(); }); assertTrue("Should complete within timeout", latch.await(ASYNC_TIMEOUT_SECONDS, TimeUnit.SECONDS)); assertNotNull("Should have response", responseRef.get()); assertEquals(0, responseRef.get().getNumberOfInputDocs()); } @Test
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
.build() } val request = Request .Builder() .url(server.url("/")) .build() client.newCall(request).enqueue(callback) callback .await(request.url) .assertCode(200) .assertHeader("OkHttp-Intercepted", "yep") } @Test fun applicationInterceptorsCanMakeMultipleRequestsToServer() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
CODE_OF_CONDUCT.md
individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within the community. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines were inspired by [Mozilla's code of conduct
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Oct 17 06:18:13 GMT 2024 - 5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
}) .start(); // wait for the computingEntry to be created computationStarted.await(); cache.invalidateAll(); // let the computation proceed computingLatch.countDown(); // don't check cache.size() until we know the get("b") call is complete computationComplete.await(); // At this point, the listener should be holding the seed value (a -> a), and the map shouldCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
}) .start(); // wait for the computingEntry to be created computationStarted.await(); cache.invalidateAll(); // let the computation proceed computingLatch.countDown(); // don't check cache.size() until we know the get("b") call is complete computationComplete.await(); // At this point, the listener should be holding the seed value (a -> a), and the map shouldCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
docs/ru/docs/advanced/websockets.md
**FastAPI** напрямую предоставляет тот же самый `WebSocket` просто для удобства. На самом деле это `WebSocket` из Starlette. /// ## Ожидание и отправка сообщений { #await-for-messages-and-send-messages } Через эндпоинт веб-сокета вы можете получать и отправлять сообщения. {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/uk/docs/advanced/stream-data.md
### Файли та async { #files-and-async } У більшості випадків об'єкти, подібні до файлів, за замовчуванням несумісні з `async` та `await`. Наприклад, у них немає `await file.read()` або `async for chunk in file`. І часто їх читання є блокувальною операцією (що може блокувати цикл подій), адже дані зчитуються з диска або мережі. /// info | ІнформаціяCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:25:54 GMT 2026 - 8.5K bytes - Click Count (0) -
docs/ja/docs/advanced/custom-response.md
{* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *} /// note | 技術詳細 `async` タスクは `await` に到達したときにのみキャンセルできます。`await` がない場合、ジェネレータ(`yield` を持つ関数)は適切にキャンセルできず、キャンセル要求後も実行が続く可能性があります。 この小さな例では `await` が不要なため、イベントループにキャンセルを処理する機会を与えるために `await anyio.sleep(0)` を追加しています。 これは大きなストリームや無限ストリームではさらに重要になります。 /// /// tip | 豆知識Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 13.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/request-files.md
- `seek(offset)`: ファイル内のバイト位置 `offset`(`int`)に移動します。 - 例: `await myfile.seek(0)` はファイルの先頭に移動します。 - 一度 `await myfile.read()` を実行して、もう一度内容を読みたい場合に特に便利です。 - `close()`: ファイルを閉じます。 これらはすべて `async` メソッドなので、`await` する必要があります。 例えば、`async` の *path operation 関数* 内では次のように内容を取得できます: ```Python contents = await myfile.read() ``` 通常の `def` の *path operation 関数* 内にいる場合は、`UploadFile.file` に直接アクセスできます。例えば:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/custom-response.md
接收一個 async 產生器或一般的產生器/疊代器(帶有 `yield` 的函式),並以串流方式傳送回應本文。 {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *} /// note | 技術細節 一個 `async` 任務只能在抵達某個 `await` 時才能被取消。如果沒有 `await`,該產生器(帶有 `yield` 的函式)將無法被正確取消,甚至在請求取消後仍可能持續執行。 因為這個小範例不需要任何 `await` 陳述式,我們加入 `await anyio.sleep(0)`,讓事件迴圈有機會處理取消。 對於大型或無限的串流來說,這點更為重要。 /// /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.3K bytes - Click Count (0)