Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for threadpool (0.16 sec)

  1. docs/en/docs/async.md

    ### 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).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. docs/fr/docs/async.md

    ### Fonctions de chemin
    
    Quand vous déclarez une *fonction de chemin* avec un `def` normal et non `async def`, elle est exécutée dans un groupe de threads (threadpool) externe qui est ensuite attendu, plutôt que d'être appelée directement (car cela bloquerait le serveur).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. docs/pt/docs/async.md

    ### Funções de operação de rota
    
    Quando você declara uma *função de operação de rota* com `def` normal ao invés de `async def`, ela é rodada em uma threadpool externa que então é aguardada, ao invés de ser chamada diretamente (ela poderia bloquear o servidor).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. 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).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:06:16 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. docs/es/docs/async.md

    ### Path operation functions
    
    Cuando declaras una *path operation function* con `def` normal en lugar de `async def`, se ejecuta en un threadpool externo que luego es "<abbr title="En español: esperado. Usando await.">awaited</abbr>", en lugar de ser llamado directamente (ya que bloquearía el servidor).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. docs/ru/docs/async.md

    ### Функции обработки пути
    
    Когда вы объявляете *функцию обработки пути* обычным образом с ключевым словом `def`
    вместо `async def`, FastAPI ожидает её выполнения, запустив функцию во внешнем
    <abbr title="threadpool">пуле потоков</abbr>, а не напрямую (это бы заблокировало сервер).
    
    Если ранее вы использовали другой асинхронный фреймворк, который работает иначе,
    и привыкли объявлять простые вычислительные *функции* через `def` ради
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 39.9K bytes
    - Viewed (0)
Back to top