If you can encapsulate your logic inside `produce`...
# coroutines
g
If you can encapsulate your logic inside
produce
, but here you cache continuation to solve your problem and it looks ugly