Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for enter_async_context (0.07 seconds)

  1. fastapi/routing.py

                    # so __aexit__ runs via proper structured teardown, not
                    # via GeneratorExit thrown into an async generator.
                    sse_receive_stream = await async_exit_stack.enter_async_context(
                        _sse_producer_cm()
                    )
                    # Ensure the receive stream is closed when the exit stack
                    # unwinds, preventing ResourceWarning from __del__.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top