Skip to content

Commit e091a64

Browse files
committed
~improve doc
1 parent cf5802e commit e091a64

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

reactive/kotlinx-coroutines-reactive/src/Publish.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import kotlin.internal.LowPriorityInOverloadResolution
1818
/**
1919
* Creates cold reactive [Publisher] that runs a given [block] in a coroutine.
2020
* Every time the returned flux is subscribed, it starts a new coroutine in the specified [context].
21-
* Coroutine [emits][Subscriber.onNext] values with `send`, [completes][Subscriber.onComplete]
22-
* when the coroutine completes or channel is explicitly closed and emits [error][Subscriber.onError]
21+
* Coroutine emits ([Subscriber.onNext]) values with `send`, completes ([Subscriber.onComplete])
22+
* when the coroutine completes or channel is explicitly closed and emits error ([Subscriber.onError])
2323
* if coroutine throws an exception or closes channel with a cause.
2424
* Unsubscribing cancels running coroutine.
2525
*

reactive/kotlinx-coroutines-reactor/src/Flux.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import kotlin.internal.*
2020
/**
2121
* Creates cold reactive [Flux] that runs a given [block] in a coroutine.
2222
* Every time the returned flux is subscribed, it starts a new coroutine in the specified [context].
23-
* Coroutine [emits][Subscriber.onNext] values with `send`, [completes][Subscriber.onComplete]
24-
* when the coroutine completes or channel is explicitly closed and emits [error][Subscriber.onError]
23+
* Coroutine emits ([Subscriber.onNext]) values with `send`, completes ([Subscriber.onComplete])
24+
* when the coroutine completes or channel is explicitly closed and emits error ([Subscriber.onError])
2525
* if coroutine throws an exception or closes channel with a cause.
2626
* Unsubscribing cancels running coroutine.
2727
*

reactive/kotlinx-coroutines-reactor/src/Mono.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import kotlin.internal.*
1515
/**
1616
* Creates cold [mono][Mono] that will run a given [block] in a coroutine and emits its result.
1717
* Every time the returned mono is subscribed, it starts a new coroutine.
18-
* If [block] result is `null`, [success][MonoSink.success] is invoked without a value.
18+
* If [block] result is `null`, [MonoSink.success] is invoked without a value.
1919
* Unsubscribing cancels running coroutine.
2020
*
2121
* Coroutine context can be specified with [context] argument.

reactive/kotlinx-coroutines-rx2/src/RxFlowable.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import kotlin.internal.*
1717
* Creates cold [flowable][Flowable] that will run a given [block] in a coroutine.
1818
* Every time the returned flowable is subscribed, it starts a new coroutine.
1919
*
20-
* Coroutine [emits][ObservableEmitter.onNext] values with `send`, [completes][ObservableEmitter.onComplete]
21-
* when the coroutine completes or channel is explicitly closed and emits [error][ObservableEmitter.onError]
20+
* Coroutine emits ([ObservableEmitter.onNext]) values with `send`, completes ([ObservableEmitter.onComplete])
21+
* when the coroutine completes or channel is explicitly closed and emits error ([ObservableEmitter.onError])
2222
* if coroutine throws an exception or closes channel with a cause.
2323
* Unsubscribing cancels running coroutine.
2424
*

reactive/kotlinx-coroutines-rx2/src/RxObservable.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import kotlin.internal.*
2020
* Creates cold [observable][Observable] that will run a given [block] in a coroutine.
2121
* Every time the returned observable is subscribed, it starts a new coroutine.
2222
*
23-
* Coroutine [emits][ObservableEmitter.onNext] values with `send`, [completes][ObservableEmitter.onComplete]
24-
* when the coroutine completes or channel is explicitly closed and emits [error][ObservableEmitter.onError]
23+
* Coroutine emits ([ObservableEmitter.onNext]) values with `send`, completes ([ObservableEmitter.onComplete])
24+
* when the coroutine completes or channel is explicitly closed and emits error ([ObservableEmitter.onError])
2525
* if coroutine throws an exception or closes channel with a cause.
2626
* Unsubscribing cancels running coroutine.
2727
*

0 commit comments

Comments
 (0)