Skip to content

Commit eb7ffed

Browse files
committed
Remove mentions of ReactorContext from JDK 9 Flow integration doc
1 parent 5d0ba5e commit eb7ffed

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

reactive/kotlinx-coroutines-jdk9/src/ReactiveFlow.kt

+2-8
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,14 @@ import org.reactivestreams.FlowAdapters
1717
* More precisely, it specifies the value of the subscription's [request][Subscription.request].
1818
* `1` is used by default.
1919
*
20-
* If any of the resulting
21-
flow transformations fails, subscription is immediately cancelled and all in-flights elements
22-
* are discarded.*
23-
* This function is integrated with `ReactorContext` from `kotlinx-coroutines-reactor` module,
24-
* see its documentation for additional details.
20+
* If any of the resulting flow transformations fails, subscription is immediately cancelled and
21+
* all in-flights elements are discarded.
2522
*/
2623
public fun <T : Any> Publisher<T>.asFlow(): Flow<T> =
2724
FlowAdapters.toPublisher(this).asFlow()
2825

2926
/**
3027
* Transforms the given flow to a reactive specification compliant [Publisher].
31-
*
32-
* This function is integrated with `ReactorContext` from `kotlinx-coroutines-reactor` module,
33-
* see its documentation for additional details.
3428
*/
3529
public fun <T : Any> Flow<T>.asPublisher(): Publisher<T> {
3630
val reactivePublisher : org.reactivestreams.Publisher<T> = this.asPublisher<T>()

0 commit comments

Comments
 (0)