https://kotlinlang.org logo
r

Rafal

02/04/2019, 1:15 PM
Copy code
Another way of starting a coroutine is async {}. It is like launch {}, but returns an instance of Deferred<T>, which has an await() function that returns the result of the coroutine.