marcinmoskala
01/14/2019, 8:14 AMlouiscad
01/14/2019, 8:24 AMmarcinmoskala
01/14/2019, 8:32 AMEvgeniy Zaharov
01/14/2019, 8:52 AMantonis
01/14/2019, 8:56 AMantonis
01/14/2019, 8:56 AMspand
01/14/2019, 8:56 AMmarcinmoskala
01/14/2019, 9:15 AMmarcinmoskala
01/14/2019, 9:17 AMactor typing makes this line too long to fit)antonis
01/14/2019, 9:28 AMantonis
01/14/2019, 9:28 AMantonis
01/14/2019, 9:29 AMSlava Glushenkov
01/14/2019, 9:32 AMlouiscad
01/14/2019, 10:57 AMlouiscad
01/14/2019, 10:58 AMmarcinmoskala
01/14/2019, 1:00 PMmarcinmoskala
01/14/2019, 1:34 PMgroostav
01/14/2019, 6:16 PMChannels can get into failed vs closed symatics? Thats one of the single biggest things that's tripped me up. I'm still not really sure of chan.consumeEach vs for(it in chan) with respect to closed and failed channelsgroostav
01/14/2019, 6:21 PMval producer = produce {
for(i in 1 .. 5){ send(i * i) }
}
println(producer.receive()) //1
println(producer.receive()) //4
for(element in producer){
println(element) //9, 16, 25
}
?
Also consider that consumeEach ObsoleteCoroutinesApigroostav
01/14/2019, 6:27 PMDispatchers.Unconfined does not change thread implies something semantic when I really think its only safe to use this for performance/debugging. Maybe say "Use first available dispatcher for performance"?Allan Wang
01/14/2019, 8:43 PMDispatchers.Default really use "a different thread if possible"? It just submits the request to a "default" thread pool doesn't it?marcinmoskala
01/16/2019, 11:05 AMlouiscad
01/16/2019, 8:23 PMmarcinmoskala
01/17/2019, 10:03 PMSaiedmomen
01/18/2019, 7:29 PMSaiedmomen
01/18/2019, 7:30 PMwithContext is blocking