程序包 | 说明 |
---|---|
reactor.core.publisher |
限定符和类型 | 方法和说明 |
---|---|
FluxSink<T> |
FluxSink.next(T t)
Emit a non-null element, generating an
onNext signal. |
FluxSink<T> |
FluxSink.onCancel(Disposable d)
Attach a
Disposable as a callback for when this FluxSink is
cancelled. |
FluxSink<T> |
FluxSink.onDispose(Disposable d)
Attach a
Disposable as a callback for when this FluxSink is effectively
disposed, that is it cannot be used anymore. |
FluxSink<T> |
FluxSink.onRequest(java.util.function.LongConsumer consumer)
Attaches a
LongConsumer to this FluxSink that will be notified of
any request to this sink. |
FluxSink<IN> |
FluxProcessor.sink()
已过时。
To be removed in 3.5, prefer clear cut usage of
Sinks
through the Sinks.many() spec. |
FluxSink<IN> |
FluxProcessor.sink(FluxSink.OverflowStrategy strategy)
已过时。
To be removed in 3.5, prefer clear cut usage of
Sinks
through the Sinks.many() spec. |
限定符和类型 | 方法和说明 |
---|---|
static <T> Flux<T> |
Flux.create(java.util.function.Consumer<? super FluxSink<T>> emitter)
|
static <T> Flux<T> |
Flux.create(java.util.function.Consumer<? super FluxSink<T>> emitter,
FluxSink.OverflowStrategy backpressure)
|
static <T> Flux<T> |
Flux.push(java.util.function.Consumer<? super FluxSink<T>> emitter)
|
static <T> Flux<T> |
Flux.push(java.util.function.Consumer<? super FluxSink<T>> emitter,
FluxSink.OverflowStrategy backpressure)
|