FlowExt | Kotlinx Coroutines Flow Extensions | Kotlinx Coroutines Flow Extensions. Extensions to the Kotlin Flow library | kotlin-flow-extensions | Coroutines Flow Extensions | Kotlin Flow extensions | kotlin flow extensions | Flow extensions
1.9.23
.1.8.1-Beta
.Gradle
to 8.7
.Flow.catchAndReturn
, Flow.catchAndResume
operators.Flow.mapToResult
, Flow.mapResultCatching
, Flow.throwFailure
operators.Kotlin
to 1.9.20
.iosArm32
, watchosX86
.Add Flow.plus
operator, it is an alias to concatWith
operator
(thanks to @hoangchungk53qx1).
Add flowFromNonSuspend
, the non-suspend version of flowFromSuspend
.
Update dependencies
Kotlin
to 1.9.10
.Gradle
to 8.4
.Annotate Symbol
and NULL_VALUE
with @DelicateFlowExtApi
.
Add Flow.chunked
operator, it is an alias to Flow.bufferCount
operator.
Add Flow.pairwise(transform)
operator - a variant of Flow.pairwise()
operator,
which allows the transformation of the pair of values via the transform
lambda parameter.
Add Flow.zipWithNext()
operator, it is an alias to Flow.pairwise()
operator.
Add Flow.zipWithNext(transform)
operator, it is an alias to Flow.pairwise(transform)
operator.
Gradle
to 8.3
.Flow.ignoreElements
operator.Flow.scanWith
operator.Flow.safeCast
operator (thanks to @hoangchungk53qx1)Flow.select
: avoid calling sub-selectors when the previous state is the same as the current state
(aka. distinctUntilChanged
).Update dependencies
Kotlin
to 1.8.10
.KotlinX Coroutines
to 1.7.0-Beta
.Gradle
to 8.0.2
.Only support JS IR.
Supports more targets:
linuxArm64
watchosDeviceArm64
androidNativeArm32
androidNativeArm64
androidNativeX86
androidNativeX64
Flow.groupBy
operator.
See Readme#groupBy for more details.