Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,099 for Async (3.69 sec)

  1. docs/en/docs/release-notes.md

    * Fix typos in Async docs. PR [#1423](https://github.com/tiangolo/fastapi/pull/1423).
    
    ## 0.54.2
    
    * Add translation to Spanish for [Concurrency and async / await - Concurrencia y async / await](https://fastapi.tiangolo.com/es/async/). PR [#1290](https://github.com/tiangolo/fastapi/pull/1290) by [@alvaropernas](https://github.com/alvaropernas).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

            public void process(Consumer<TransferEvent> consumer) {
                consumer.accept(event);
            }
    
            public void waitForProcessed() throws InterruptedException {
                // nothing, is async
            }
        }
    
        private static class BlockingExchange extends Exchange {
            private final CountDownLatch latch = new CountDownLatch(1);
    
            private BlockingExchange(TransferEvent event) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Feb 06 11:28:05 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            public void process(Consumer<TransferEvent> consumer) {
                consumer.accept(event);
            }
    
            public void waitForProcessed() throws InterruptedException {
                // nothing, is async
            }
        }
    
        private static class BlockingExchange extends Exchange {
            private final CountDownLatch latch = new CountDownLatch(1);
    
            private BlockingExchange(TransferEvent event) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Toma un generador `async` o un generador/iterador normal y transmite el cuerpo del response.
    
    {* ../../docs_src/custom_response/tutorial007_py39.py hl[2,14] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    Код, следующий за оператором `yield`, выполняется после ответа:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Подсказка
    
    Можно использовать как `async`, так и обычные функции.
    
    **FastAPI** корректно обработает каждый вариант, так же как и с обычными зависимостями.
    
    ///
    
    ## Зависимость с `yield` и `try` { #a-dependency-with-yield-and-try }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                assertEquals('a', stream.read());
                assertEquals(-1, stream.read()); // EOF
            }
    
            // File should be deleted after close
            // Note: FileUtil.deleteInBackground() is async, so we can't reliably test this
        }
    
        public void test_available() throws Exception {
            // Create a temporary file with test data
            File tempFile = File.createTempFile("test-", ".tmp");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    El código posterior a la declaración `yield` se ejecuta después del response:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Consejo
    
    Puedes usar funciones `async` o regulares.
    
    **FastAPI** hará lo correcto con cada una, igual que con dependencias normales.
    
    ///
    
    ## Una dependencia con `yield` y `try` { #a-dependency-with-yield-and-try }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. internal/s3select/json/preader.go

    	kvDstPool   bpool.Pool[[]jstream.KVS] // pool of []jstream.KVS used for output
    	close       chan struct{}             // used for shutting down the splitter before end of stream
    	readerWg    sync.WaitGroup            // used to keep track of async reader.
    }
    
    // queueItem is an item in the queue.
    type queueItem struct {
    	input []byte             // raw input sent to the worker
    	dst   chan []jstream.KVS // result of block decode
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. docs/es/llm-prompt.md

    * full stack: full stack (do not translate to "pila completa")
    * full-stack: full-stack (do not translate to "de pila completa")
    * stack: stack (do not translate to "pila")
    * loop (as in async loop): loop (do not translate to "bucle" or "ciclo")
    * hard dependencies: dependencias obligatorias (do not translate to "dependencias duras")
    * locking: locking (do not translate to "bloqueo")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    生成的值会注入到 *路由函数* 和其他依赖项中:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    `yield` 语句后面的代码会在创建响应后,发送响应前执行:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *}
    
    /// tip | 提示
    
    你可以使用 `async` 或普通函数。
    
    **FastAPI** 会像处理普通依赖一样,对每个依赖做正确的处理。
    
    ///
    
    ## 包含 `yield` 和 `try` 的依赖项
    
    如果在包含 `yield` 的依赖中使用 `try` 代码块,你会捕获到使用依赖时抛出的任何异常。
    
    例如,如果某段代码在另一个依赖中或在 *路由函数* 中使数据库事务"回滚"或产生任何其他错误,你将会在依赖中捕获到异常。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top