[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] article: Structured concurrency and Lua
- From: Sean Conner <sean@...>
- Date: Wed, 21 Sep 2022 02:45:27 -0400
It was thus said that the Great bil til once stated:
> One further point, which I do not really get from this github article
> / from looking at your main_async function:
> Where does Lua exactly do the yielding between the different coroutines?
In two functions: trio.async_wait_task_rescheduled() and
trio.async_sleep(). This isn't a fully realized program but more of a
"proof-of-concept" (if I understand things correctly).