https://kotlinlang.org logo
#coroutines
Title
# coroutines
z

zak.taccardi

08/12/2019, 9:28 PM
Are there any behavior changes between
1.2.1
and 1.3.0-RC2` that we need to be worried about? Especially for `@ExperimentalApi`s?
l

louiscad

08/12/2019, 9:30 PM
@zak.taccardi
1.2.2
doesn't exist. If you update from
1.2.1
, as long as you didn't use
@FlowPreview
, there should be nothing to do.
👍 1
z

zak.taccardi

08/12/2019, 9:31 PM
Does `ProducerScope`’s behavior change?
you have to add
awaitOnClose()
now or something?
l

louiscad

08/12/2019, 9:35 PM
ProducerScope
doesn't appear in the changelog: https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md
Note that
consumeEach
for
ReceiveChannel
is no longer marked as obsolete and has been promoted to experimental API.
All channels operators have been deprecated however, in favor of
Flow
operators, and
consumeAsFlow
extension for
ReceiveChannel
.
👍 1
d

Dominaezzz

08/12/2019, 9:39 PM
awaitOnClose()
is now available but it's not required.
7 Views