Extensions for org.reactivestreams.Publisher
Awaits for the first value from the given publisher without blocking a thread and returns the resulting value or throws the corresponding exception if this publisher had produced error. |
|
Awaits for the first value from the given observable or the default value if none is emitted without blocking a thread and returns the resulting value or throws the corresponding exception if this observable had produced error. |
|
Awaits for the first value from the given observable or call defaultValue to get a value if none is emitted without blocking a thread and returns the resulting value or throws the corresponding exception if this observable had produced error. |
|
Awaits for the first value from the given observable or |
|
Awaits for the last value from the given publisher without blocking a thread and returns the resulting value or throws the corresponding exception if this publisher had produced error. |
|
Awaits for the single value from the given publisher without blocking a thread and returns the resulting value or throws the corresponding exception if this publisher had produced error. |
|
Subscribes to this Publisher and performs the specified action for each received element. |
|
operator fun <T> Publisher<T>. Subscribes to this Publisher and returns an iterator to receive elements emitted by it. |
|
fun <T> Publisher<T>.openSubscription( Subscribes to this Publisher and returns a channel to receive elements emitted by it. The resulting channel shall be closed to unsubscribe from this publisher. |