consume
Blocks execution until the future is ready.
Since Kotlin
1.3Return
the execution result of code consumed future's computaiton
Throws
if future is in FutureState.INVALID, FutureState.CANCELLED or FutureState.THROWN state
Blocks execution until the future is ready.
the execution result of code consumed future's computaiton
if future is in FutureState.INVALID, FutureState.CANCELLED or FutureState.THROWN state
Thanks for your feedback!