Ask a question to get started
Enter to send•Shift+Enter new line
serve_forever( self, ) -> None
Park until the source is cancelled or its transport dies.
Implementations should re-raise CancelledError and propagate unexpected transport-layer failures so the lifecycle owner can notice and surface them.
CancelledError