gildor
11/20/2017, 10:43 AMasync()
is function (coroutine builder) and await
is a function in interface Deferred (returned from async()) and both of them are part of kotlinx.coroutines library, not a part of language or stdlibrary.
You can write own implementations that doesn’t coupled with particular Promise/Feature implementation like in languages where async/await is part of the languagegildor
11/20/2017, 10:45 AMgildor
11/20/2017, 10:46 AMasync
satejs
11/20/2017, 10:50 AM