This is the first of hopefully a series of articles on structured concurrency from the perspective of Lua.
article: Structured concurrency and Lua, part 1
background story: I started lobbying for some kind of scope exit hook thing in Lua around 2008. We had a centi-thread on the topic every 5 or 10 years. Meanwhile, Python context managers happened; structured concurrency happened. The Lua scope exit feature finally landed last year, complete with async (coroutine yield) support. So time to take a stab at structured concurrency…