Join Slack
Powered by
There will be an amiguity. In the rare case where ...
# coroutines
e
elizarov
04/19/2017, 1:42 PM
There will be an amiguity. In the rare case where you need to distinguish null result from timeout you’ll have to resort to other means. That’s how all stdlib in Kotlin works, see
getOrNull
, for example:
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/get-or-null.html
Open in Slack
Previous
Next