- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for Threadpool (0.05 sec)
-
docs/en/docs/async.md
/// ### Path operation functions { #path-operation-functions } When you declare a *path operation function* with normal `def` instead of `async def`, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
@Test public void testThreadPoolMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); ForkJoinPool pool = new ForkJoinPool(); CurlRequest result = request.threadPool(pool); assertSame(request, result); // Fluent API } @Test public void testEncodingSpecialCharacters() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
docs/de/docs/async.md
/// ### Pfadoperation-Funktionen Wenn Sie eine *Pfadoperation-Funktion* mit normalem `def` anstelle von `async def` deklarieren, wird sie in einem externen Threadpool ausgeführt, der dann `await`et wird, anstatt direkt aufgerufen zu werden (da dies den Server blockieren würde).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 26.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/request_files.md
```Python contents = myfile.file.read() ``` /// note | Detalhes técnicos do `async` Quando você utiliza métodos assíncronos, o **FastAPI** executa os métodos do arquivo em uma threadpool e espera por eles. /// /// note | Detalhes técnicos do Starlette
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/de/docs/tutorial/request-files.md
```Python contents = myfile.file.read() ``` /// note | Technische Details zu `async` Wenn Sie die `async`-Methoden verwenden, führt **FastAPI** die Datei-Methoden in einem <abbr title="Mehrere unabhängige Kindprozesse">Threadpool</abbr> aus und erwartet sie. /// /// note | Technische Details zu Starlette
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8K bytes - Viewed (0) -
docs/es/docs/tutorial/request-files.md
```Python contents = myfile.file.read() ``` /// note | Detalles Técnicos de `async` Cuando usas los métodos `async`, **FastAPI** ejecuta los métodos del archivo en un threadpool y los espera. /// /// note | Detalles Técnicos de Starlette
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
// Fesen Client // /** * Gets the thread pool used by the client. * * @return the thread pool */ @Override public ThreadPool threadPool() { return client.threadPool(); } /** * Gets the admin client for cluster and index administration. * * @return the admin client */ @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0) -
docs/ru/docs/async.md
/// ### Функции обработки пути Когда вы объявляете *функцию обработки пути* обычным образом с ключевым словом `def` вместо `async def`, FastAPI ожидает её выполнения, запустив функцию во внешнем <abbr title="threadpool">пуле потоков</abbr>, а не напрямую (это бы заблокировало сервер). Если ранее вы использовали другой асинхронный фреймворк, который работает иначе, и привыкли объявлять простые вычислительные *функции* через `def` ради
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 39.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* * {@snippet : * ListenableFuture<Boolean> adminIsLoggedIn = * FluentFuture.from(usersDatabase.getAdminUser()) * .transform(User::getId, directExecutor()) * .transform(ActivityService::isLoggedIn, threadPool) * .catching(RpcException.class, e -> false, directExecutor()); * } * * <h3>Alternatives</h3> * * <h4>Frameworks</h4> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
docs/zh-hant/docs/async.md
你大概可以跳過這段。 這裡是有關 FastAPI 內部技術細節。 如果你有相當多的技術背景(例如協程、執行緒、阻塞等),並且對 FastAPI 如何處理 `async def` 與常規 `def` 感到好奇,請繼續閱讀。 /// ### 路徑操作函数 當你使用 `def` 而不是 `async def` 宣告*路徑操作函式*時,該函式會在外部的執行緒池(threadpool)中執行,然後等待結果,而不是直接呼叫(因為這樣會阻塞伺服器)。 如果你來自於其他不以這種方式運作的非同步框架,而且你習慣於使用普通的 `def` 定義僅進行簡單計算的*路徑操作函式*,目的是獲得微小的性能增益(大約 100 奈秒),請注意,在 FastAPI 中,效果會完全相反。在這些情況下,最好使用 `async def`除非你的*路徑操作函式*執行阻塞的 <abbr title="輸入/輸出:磁碟讀寫或網路通訊">I/O</abbr> 的程式碼。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 21.1K bytes - Viewed (0)