aboutsummaryrefslogtreecommitdiffstats
path: root/reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt
diff options
context:
space:
mode:
authorVsevolod Tolstopyatov <qwwdfsad@gmail.com>2020-03-27 17:43:45 +0300
committerGitHub <noreply@github.com>2020-03-27 17:43:45 +0300
commit9cbad7d41a059ca742c7de15efca3f4b38911a97 (patch)
tree3b25f95c99c7f7ff5fd72eed790f30831a77abe2 /reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt
parent5b610bb1d9a8b66de0f1eb9cdcc82af4c617a54d (diff)
downloadplatform_external_kotlinx.coroutines-9cbad7d41a059ca742c7de15efca3f4b38911a97.tar.gz
platform_external_kotlinx.coroutines-9cbad7d41a059ca742c7de15efca3f4b38911a97.tar.bz2
platform_external_kotlinx.coroutines-9cbad7d41a059ca742c7de15efca3f4b38911a97.zip
Enable strict explicit mode (#1877)
Diffstat (limited to 'reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt')
-rw-r--r--reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt b/reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt
index 20e165e7..20e59f6a 100644
--- a/reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt
+++ b/reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt
@@ -163,8 +163,8 @@ private class FlowAsPublisher<T : Any>(private val flow: Flow<T>) : Publisher<T>
/** @suppress */
@InternalCoroutinesApi
public class FlowSubscription<T>(
- @JvmField val flow: Flow<T>,
- @JvmField val subscriber: Subscriber<in T>
+ @JvmField public val flow: Flow<T>,
+ @JvmField public val subscriber: Subscriber<in T>
) : Subscription, AbstractCoroutine<Unit>(Dispatchers.Unconfined, false) {
private val requested = atomic(0L)
private val producer = atomic<CancellableContinuation<Unit>?>(null)