https://kotlinlang.org logo
Title
e

elizarov

07/24/2017, 1:50 PM
📣 📣 📣
kotlinx.coroutines
version 0.17 is released. It has a new
CompletableDeferred
primitive;
Job.join
and
Deferred.await
are waiting for coroutine’s execution on cancellation;
CoroutineScope.context
is renamed to
coroutineContext
and more. A full list of changes is here: https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md
🎉 11
❤️ 2
👍 10
v

voddan

07/24/2017, 2:00 PM
All factory functions for various interfaces are implemented as top-level functions
I glad to see that. I hope we move from overusing
invoke
just for the fun of it.
e

elizarov

07/24/2017, 2:16 PM
It was fun, but too baroque and hard to get to less-experienced Kotlin users. Top-level functions serve the same need in a more straight-forward way
Also, Kotlin stdlib uses top-level function with Upper-case first letter for pseudo-constructors.
g

gildor

07/24/2017, 2:19 PM
@elizarov No tag with release notes yet on GitHub https://github.com/Kotlin/kotlinx.coroutines/releases Just want to add link to release notes for kotlin-coroutines-retrofit
e

elizarov

07/24/2017, 2:21 PM
@gildor Good catch. Fixed (tagged)