3 ms·
I've been looking for something similar! Here is what I'd like to do: I have a long-running script. At several steps, the execution of the script has to pause
by koeng 2y ago
I've been looking for something similar! Here is what I'd like to do:
I have a long-running script. At several steps, the execution of the script has to pause for a long time for operations to be done in-real-life (biological experiments, so think wait time being like 2 days between running), before getting some data and continuing to run. From what I can see in this, I'd add yielding coroutines at data pause points, right? How would you handle that?