nil2l
12/11/2017, 9:30 AMnil2l
12/11/2017, 9:30 AMvar
?user
12/11/2017, 10:10 AMuser
12/11/2017, 10:11 AMnil2l
12/11/2017, 10:38 AMuser
12/11/2017, 10:48 AMproduce
, code will be less magicuser
12/11/2017, 10:50 AMwhile
, just because it’s potentially infinite sequence of eventsnil2l
12/11/2017, 10:50 AMproduce
?gildor
12/11/2017, 10:51 AMproduce
, but here you cache continuation to solve your problem and it looks uglyrrva
12/11/2017, 2:06 PMbdawg.io
12/11/2017, 7:40 PMpakoito
12/12/2017, 12:31 AMbj0
12/12/2017, 12:33 AMselect
on them and cancel when you get a resultasad.awadia
12/12/2017, 12:42 AMpakoito
12/12/2017, 12:53 AMpakoito
12/12/2017, 12:54 AMvitrox1
12/12/2017, 2:53 PMlittlelightcz
12/12/2017, 6:18 PMasad.awadia
12/12/2017, 6:21 PMasad.awadia
12/12/2017, 6:22 PMasad.awadia
12/12/2017, 6:22 PMlittlelightcz
12/12/2017, 6:24 PMasad.awadia
12/12/2017, 6:28 PMasad.awadia
12/12/2017, 6:29 PMasync (CommonPool) {// call function}
jw
12/12/2017, 6:31 PMjw
12/12/2017, 6:31 PMrunBlocking
is definitely preferred to sleeping as it spins a looper on the current thread allowing it to do work while waiting instead of nothinglittlelightcz
12/12/2017, 6:32 PMlittlelightcz
12/12/2017, 6:32 PMasad.awadia
12/12/2017, 6:32 PM