Jonathan
10/30/2018, 4:20 PMonCompletion
argument of produce
is marked internal api, and it is not possible to CoroutineStart.ATOMIC
with produce
, how can one make sure a given resource is always released?dave08
10/30/2018, 4:40 PMinvokeOnClose()
, isn't that for cleaning up resources?Jonathan
10/30/2018, 4:40 PMdave08
10/30/2018, 4:41 PMJonathan
10/30/2018, 4:42 PMdave08
10/30/2018, 5:13 PMconsume { }
?elizarov
10/30/2018, 6:09 PMATOMIC
Jonathan
10/31/2018, 8:01 AMproduce
dooesn't have a start
argument. Does it?onCompletion = consumes()
. But this is internal API