cedric
02/09/2017, 7:02 AMblockBlock
, a verb and a noun. Problem solved.voddan
02/09/2017, 9:28 AMrun blocking!
blocking { launch() }
scope function, it is like commanding launch, but blocking
kenkyee
02/09/2017, 11:35 AMelizarov
02/09/2017, 12:59 PMcedric
02/09/2017, 3:03 PMOptional
from Java makes more sense than Option
of Scala) but you shouldn't try to take this too far. To me, runBlocking
is perfectly acceptable.voddan
02/09/2017, 3:07 PMrunBlocking
instead of blocking
?cedric
02/09/2017, 3:07 PMvoddan
02/09/2017, 3:09 PMrunBlocking
Ruckus
02/09/2017, 3:30 PMblocking
looks prettier, but runBlocking
is clearer. Both of those claims are opinions though, so getting everyone's opinion on the matter is valuable.async
vs defer
. defer
is more accurate and clear, but async
is more familiar.kenkyee
02/09/2017, 11:51 PM