Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalanskyjb committed May 28, 2024
1 parent 7e6814c commit bdbd0c7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion kotlinx-coroutines-core/common/src/flow/Flow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ import kotlin.coroutines.*
* These implementations ensure that the context preservation property is not violated, and prevent most
* of the developer mistakes related to concurrency, inconsistent flow dispatchers, and cancellation.
*/
@OptIn(ExperimentalSubclassOptIn::class)
public interface Flow<out T> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

package kotlinx.coroutines.flow

import kotlinx.coroutines.*
import kotlinx.coroutines.flow.internal.*
import kotlin.jvm.*

Expand Down
1 change: 0 additions & 1 deletion kotlinx-coroutines-core/jdk8/src/stream/Stream.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import java.util.stream.*
*/
public fun <T> Stream<T>.consumeAsFlow(): Flow<T> = StreamFlow(this)

@OptIn(ExperimentalForInheritanceCoroutinesApi::class)
private class StreamFlow<T>(private val stream: Stream<T>) : Flow<T> {
private val consumed = atomic(false)

Expand Down

0 comments on commit bdbd0c7

Please sign in to comment.