curioustechizen
09/11/2019, 3:41 PMDominaezzz
09/11/2019, 3:55 PMproduceIn
to achieve this. Get the channel and receive items imperatively.louiscad
09/11/2019, 4:43 PMconsume { … }
or cancel()
. I spent quite some time wondering why they would deadlock, and it was because the channel producer would be kept alive, preventing the coroutine scope from completing.curioustechizen
09/12/2019, 7:09 AM