Open FurqanHabibi opened 2 months ago
FastAPI version 0.94.0 and Starlette version 0.26.0 have added support for lifespan state.
Other ASGI server implementation like uvicorn have added support as well.
Reference: https://asgi.readthedocs.io/en/latest/specs/lifespan.html#lifespan-state
FastAPI version 0.94.0 and Starlette version 0.26.0 have added support for lifespan state.
Other ASGI server implementation like uvicorn have added support as well.
Reference: https://asgi.readthedocs.io/en/latest/specs/lifespan.html#lifespan-state