As an x-gamedev, suspect/resume/stackful coroutines made them too heavy to have several thousand of them running during a game loop for our game. At the time we used GameMonkey Script:
https://github.com/publicrepo/gmscriptThat was over 20 years ago. No idea what the current hotness is.