Migrate pause/suspend/resume and BaseRunInput from legacy @sync compatible to @async dispatch
Migrate pause/suspend/resume and BaseRunInput from legacy @sync compatible to @async dispatch: a task in LegoFlow-SWE (Harbor dataset). The legacy @sync compatible decorator uses a “magic” approach to decide whether a coroutine can be awaited, which can fail unpredictably when the runtime…
The task
The legacy `@sync_compatible` decorator uses a “magic” approach to decide whether a coroutine can be awaited, which can fail unpredictably when the runtime environment changes between local development and production. The `@async_dispatch` pattern is the replacement, providing explicit async versions and reliable…
Part of Lego-X/LegoFlow-SWE.