Python AnyIO + AsyncResource: Cancellation-Safe Startup/Shutdown Hooks for APIs

Build API lifecycle hooks that don’t panic when a deploy rolls through, a client disconnects, or your server sends a cancellation signal…