what is the difference between `kotlin.native.conc...
# kotlin-native
i
what is the difference between
kotlin.native.concurrent.Future.result
and
kotlin.native.concurrent.Future.consume(code: (T) -> R))
. Seems like both are blocking, will block caller. I was assuming from API that
Future.result
- suppose to be blocking but
Future.consume(code: (T) -> R))
non blocking as it takes lambda.
o
Both are blocking,
result
is just wrapper around
consume
i
thx!