|
|
A simpel producer and consumer |
We show two different variants of a simple producer consumer pattern |
|
It is tricky to start up the two continuations Explicit passing of continuations between the coroutines is clumsy - Keeping the continuation 'of the other part' in mutable state is an alternative |