File tree 6 files changed +7
-4
lines changed
src/main/kotlin/hu/akarnokd/kotlin/flow
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.
11
11
12
12
``` groovy
13
13
dependencies {
14
- implementation "com.github.akarnokd:kotlin-flow-extensions:0.0.13 "
14
+ implementation "com.github.akarnokd:kotlin-flow-extensions:0.0.14 "
15
15
}
16
16
```
17
17
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
ext. bnd_version = ' 6.1.0'
7
7
ext. license_version = ' 0.15.0'
8
8
ext. vanniktech_version = ' 0.18.0'
9
- ext. coroutines_version = ' 1.5.2 '
9
+ ext. coroutines_version = ' 1.6.0 '
10
10
11
11
repositories {
12
12
mavenCentral()
Original file line number Diff line number Diff line change 1
1
GROUP =com.github.akarnokd
2
- VERSION_NAME =0.0.13
2
+ VERSION_NAME =0.0.14
3
3
4
4
POM_ARTIFACT_ID =kotlin-flow-extensions
5
5
POM_NAME =Kotlin Flow Extensions
Original file line number Diff line number Diff line change 16
16
17
17
package hu.akarnokd.kotlin.flow
18
18
19
+ import kotlinx.coroutines.FlowPreview
19
20
import kotlinx.coroutines.flow.AbstractFlow
20
21
import kotlinx.coroutines.flow.FlowCollector
21
22
import java.util.concurrent.ConcurrentLinkedQueue
@@ -26,6 +27,7 @@ import java.util.concurrent.atomic.AtomicReference
26
27
*
27
28
* @param <T> the item type
28
29
*/
30
+ @FlowPreview
29
31
class UnicastSubject <T > : AbstractFlow <T >(), SubjectAPI<T> {
30
32
31
33
companion object {
Original file line number Diff line number Diff line change 16
16
17
17
package hu.akarnokd.kotlin.flow
18
18
19
+ import kotlinx.coroutines.FlowPreview
19
20
import kotlinx.coroutines.flow.AbstractFlow
20
21
import kotlinx.coroutines.flow.FlowCollector
21
22
import java.util.concurrent.ConcurrentLinkedQueue
@@ -26,6 +27,7 @@ import java.util.concurrent.atomic.AtomicReference
26
27
*
27
28
* @param <T> the item type
28
29
*/
30
+ @FlowPreview
29
31
class UnicastWorkSubject <T > : AbstractFlow <T >(), SubjectAPI<T> {
30
32
31
33
companion object {
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import java.util.concurrent.atomic.AtomicInteger
9
9
10
10
@FlowPreview
11
11
class FlowAmbIterable <T >(private val sources : Iterable <Flow <T >>) : Flow<T> {
12
- @InternalCoroutinesApi
13
12
override suspend fun collect (collector : FlowCollector <T >) {
14
13
val winner = AtomicInteger ()
15
14
val jobs = ConcurrentHashMap <Job , Int >()
You can’t perform that action at this time.
0 commit comments