Join Slack
Powered by
`withTimeout` returns the value of the inner block...
# coroutines
e
elizarov
04/19/2017, 1:35 PM
withTimeout
returns the value of the inner block. It is designed for the following use-case:
Copy code
val result = withTimeout(time) { perfomeSomeAsyncOperation(params) }
Open in Slack
Previous
Next