andyb
12/18/2017, 1:42 PMwithTimeout(1000){ incoming.receive() }
to do this but it seems to be hanging rather than timing out. Am I missing something?r4zzz4k
12/18/2017, 1:57 PMandyb
12/18/2017, 2:04 PMTimeoutCancellationException
properlyelizarov
12/18/2017, 2:52 PMwithTimeoutOrNull
. Sometimes it is more convenient.andyb
12/18/2017, 2:54 PM