:mega: :mega: :mega: `kotlinx.coroutines` version ...
# coroutines
e
📣 📣 📣
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
👍 10
🎉 11
❤️ 2
v
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
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
@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
@gildor Good catch. Fixed (tagged)