File tree Expand file tree Collapse file tree 6 files changed +7
-4
lines changed
src/main/kotlin/hu/akarnokd/kotlin/flow Expand file tree Collapse file tree 6 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Extensions to the Kotlin Flow library.
1111
1212``` groovy
1313dependencies {
14- implementation "com.github.akarnokd:kotlin-flow-extensions:0.0.13 "
14+ implementation "com.github.akarnokd:kotlin-flow-extensions:0.0.14 "
1515}
1616```
1717
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
66 ext. bnd_version = ' 6.1.0'
77 ext. license_version = ' 0.15.0'
88 ext. vanniktech_version = ' 0.18.0'
9- ext. coroutines_version = ' 1.5.2 '
9+ ext. coroutines_version = ' 1.6.0 '
1010
1111 repositories {
1212 mavenCentral()
Original file line number Diff line number Diff line change 11GROUP =com.github.akarnokd
2- VERSION_NAME =0.0.13
2+ VERSION_NAME =0.0.14
33
44POM_ARTIFACT_ID =kotlin-flow-extensions
55POM_NAME =Kotlin Flow Extensions
Original file line number Diff line number Diff line change 1616
1717package hu.akarnokd.kotlin.flow
1818
19+ import kotlinx.coroutines.FlowPreview
1920import kotlinx.coroutines.flow.AbstractFlow
2021import kotlinx.coroutines.flow.FlowCollector
2122import java.util.concurrent.ConcurrentLinkedQueue
@@ -26,6 +27,7 @@ import java.util.concurrent.atomic.AtomicReference
2627 *
2728 * @param <T> the item type
2829 */
30+ @FlowPreview
2931class UnicastSubject <T > : AbstractFlow <T >(), SubjectAPI<T> {
3032
3133 companion object {
Original file line number Diff line number Diff line change 1616
1717package hu.akarnokd.kotlin.flow
1818
19+ import kotlinx.coroutines.FlowPreview
1920import kotlinx.coroutines.flow.AbstractFlow
2021import kotlinx.coroutines.flow.FlowCollector
2122import java.util.concurrent.ConcurrentLinkedQueue
@@ -26,6 +27,7 @@ import java.util.concurrent.atomic.AtomicReference
2627 *
2728 * @param <T> the item type
2829 */
30+ @FlowPreview
2931class UnicastWorkSubject <T > : AbstractFlow <T >(), SubjectAPI<T> {
3032
3133 companion object {
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import java.util.concurrent.atomic.AtomicInteger
99
1010@FlowPreview
1111class FlowAmbIterable <T >(private val sources : Iterable <Flow <T >>) : Flow<T> {
12- @InternalCoroutinesApi
1312 override suspend fun collect (collector : FlowCollector <T >) {
1413 val winner = AtomicInteger ()
1514 val jobs = ConcurrentHashMap <Job , Int >()
You can’t perform that action at this time.
0 commit comments