Initiate async shutdown.
(self)
| 336 | self._loop.call_soon_threadsafe(self._shutdown) |
| 337 | |
| 338 | def _shutdown(self): |
| 339 | """Initiate async shutdown.""" |
| 340 | if self._server: |
| 341 | self._server.close() |
| 342 | |
| 343 | async def _run_async(self): |
| 344 | """Main async loop - start server, manage workers.""" |