Commits
Click on a commit to change the comparison rangeMigrate task_worker.py from @sync_compatible to @async_dispatch
Part of ongoing effort to remove @sync_compatible decorator (#15008).
- Add explicit async methods: astart, astop, aserve
- Decorate sync methods (start, stop, serve) with @async_dispatch
- Sync implementations use from_sync.call_soon_in_loop_thread
- Update handle_sigterm to call astop directly
- Update tests to mock async methods when called from async context
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>12 hours ago
by zzstoatzz