mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
run_coroutine_threadsafe is designed for scheduling coroutines from a different thread onto the event loop. Since readLoop is already running as an async function on the event loop, using create_task is the correct and more efficient approach. This removes unnecessary thread-safe queue overhead for every RPC message. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>