Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shutdown (0.14 sec)

  1. docs/en/docs/features.md

    * **WebSocket** support.
    * In-process background tasks.
    * Startup and shutdown events.
    * Test client built on HTTPX.
    * **CORS**, GZip, Static Files, Streaming responses.
    * **Session and Cookie** support.
    * 100% test coverage.
    * 100% type annotated codebase.
    
    ## Pydantic features
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    ## 0.93.0
    
    ### Features
    
    * ✨ Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events). Initial PR [#2944](https://github.com/tiangolo/fastapi/pull/2944) by [@uSpike](https://github.com/uSpike).
    
    Now, instead of using independent `startup` and `shutdown` events, you can define that logic in a single function with `yield` decorated with `@asynccontextmanager` (an async context manager).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top