Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 496 for eventos (0.05 seconds)

  1. docs/pt/docs/deployment/docker.md

    ```Dockerfile
    # ⛔️ Não faça assim
    CMD fastapi run app/main.py --port 80
    ```
    
    Garanta que você sempre use a forma **exec** para assegurar que o FastAPI consiga encerrar graciosamente e que os [eventos de lifespan](../advanced/events.md) sejam disparados.
    
    Você pode ler mais na [documentação do Docker sobre as formas shell e exec](https://docs.docker.com/reference/dockerfile/#shell-and-exec-form).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>To post an event, simply provide the event object to the {@link #post(Object)} method. The
     * EventBus instance will determine the type of event and route it to all registered listeners.
     *
     * <p>Events are routed based on their type &mdash; an event will be delivered to any subscriber for
     * any type to which the event is assignable. This includes implemented interfaces, all
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  3. docs/tr/docs/advanced/events.md

    {* ../../docs_src/events/tutorial001_py310.py hl[8] *}
    
    Bu durumda `startup` event handler fonksiyonu, "database" öğesini (sadece bir `dict`) bazı değerlerle başlatır.
    
    Birden fazla event handler fonksiyonu ekleyebilirsiniz.
    
    Ve tüm `startup` event handler’ları tamamlanmadan uygulamanız request almaya başlamaz.
    
    ### `shutdown` eventi { #shutdown-event }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/events.md

    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event { #shutdown-event }
    
    To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/server-sent-events.md

    # Server-Sent Events (SSE) { #server-sent-events-sse }
    
    Puedes enviar datos en streaming al cliente usando **Server-Sent Events** (SSE).
    
    Esto es similar a [Stream JSON Lines](stream-json-lines.md), pero usa el formato `text/event-stream`, que los navegadores soportan de forma nativa con la [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
    
    /// info | Información
    
    Añadido en FastAPI 0.135.0.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Create different implementations
            SearchLogEvent event1 = new TestSearchLogEvent("id1", 1L, "type1");
            SearchLogEvent event2 = new NullSearchLogEvent();
            SearchLogEvent event3 = new EmptySearchLogEvent();
    
            // Test polymorphic behavior
            SearchLogEvent[] events = { event1, event2, event3 };
    
            for (SearchLogEvent event : events) {
                // All methods should be callable without exceptions
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py310.py hl[22] *}
    
    ## Événements alternatifs (déprécié) { #alternative-events-deprecated }
    
    /// warning | Alertes
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/events.md

    事件函数既可以声明为异步函数(`async def`),也可以声明为普通函数(`def`)。
    
    ### `startup` 事件 { #startup-event }
    
    使用事件 `"startup"` 声明一个在应用启动前运行的函数:
    
    {* ../../docs_src/events/tutorial001_py310.py hl[8] *}
    
    本例中,`startup` 事件处理器函数为项目“数据库”(只是一个 `dict`)提供了一些初始值。
    
    **FastAPI** 支持多个事件处理器函数。
    
    只有所有 `startup` 事件处理器运行完毕,**FastAPI** 应用才开始接收请求。
    
    ### `shutdown` 事件 { #shutdown-event }
    
    使用事件 `"shutdown"` 声明一个在应用关闭时运行的函数:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. docs/ru/docs/advanced/events.md

    Параметр `lifespan` приложения `FastAPI` принимает асинхронный менеджер контекста, поэтому мы можем передать ему наш новый асинхронный менеджер контекста `lifespan`.
    
    {* ../../docs_src/events/tutorial003_py310.py hl[22] *}
    
    ## Альтернативные события (устаревшие) { #alternative-events-deprecated }
    
    /// warning | Предупреждение
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/events.md

    Diese Funktionen können mit `async def` oder normalem `def` deklariert werden.
    
    ### `startup`-Event { #startup-event }
    
    Um eine Funktion hinzuzufügen, die vor dem Start der Anwendung ausgeführt werden soll, deklarieren Sie diese mit dem Event `startup`:
    
    {* ../../docs_src/events/tutorial001_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 9.4K bytes
    - Click Count (0)
Back to Top