T - the value typepublic interface FluxSink<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
FluxSink.OverflowStrategy
Enumeration for backpressure handling.
|
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
void |
fail(java.lang.Throwable e) |
void |
next(T t)
Try emitting, might throw an unchecked exception.
|
void |
setCancellation(Cancellation c)
Associate a cancellation-based resource with this FluxSink
that will be disposed in case the downstream cancels the sequence
via
Subscription.cancel(). |
void complete()
Subscriber.onComplete()void fail(java.lang.Throwable e)
e - the exception to signal, not nullSubscriber.onError(Throwable)void next(T t)
t - the value to emit, not nulljava.lang.RuntimeExceptionSubscriber.onNext(Object)void setCancellation(Cancellation c)
Subscription.cancel().c -