#649·starlette

lifespan events in sub-applications

Author: octopoulpeCreated Sep 30, 2019Updated Sep 5, 2026

Hi. I was wondering if sub-applications (mounted on the main application) should receive startup/shutdown events and call their own handlers. I saw it is not the case at the moment. Should we document it or implement the dispatching of lifespan events ?

[!IMPORTANT]

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar