dave08
10/25/2017, 11:25 AMbuildSequence
"producer" will also sleep and wait until next is called, isn't the real difference in the threads and that it can be suspended from an external call?
I also never quite understood to well why buildSequence
doesn't need a context, at least for where the whole generation process should be carried out (but of course not inside the coroutine itself, since like you said, it's supposed to be synchronous...)