aboutsummaryrefslogtreecommitdiffstats
path: root/reactive/kotlinx-coroutines-reactor/src/Migration.kt
blob: c80d2690ab38dc208e9c5e705d4d3ecd4fdef43d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@file:JvmName("FlowKt")

package kotlinx.coroutines.reactor

import kotlinx.coroutines.flow.*
import reactor.core.publisher.*

@Deprecated(
    message = "Replaced in favor of ReactiveFlow extension, please import kotlinx.coroutines.reactor.* instead of kotlinx.coroutines.reactor.FlowKt",
    level = DeprecationLevel.ERROR
)
@JvmName("asFlux")
public fun <T : Any> Flow<T>.asFluxDeprecated(): Flux<T> = asFlux()