> but the task of converting a high-level workstream into a state machine could be automated by the tooling
That tooling is literally async/await. async/await transforms functions into state machines
That tooling is literally async/await. async/await transforms functions into state machines