Subscriber.
At most one next call and/or one complete() or
error(Throwable) should be called per invocation of the generator function.
Calling a SynchronousSink outside of a generator consumer or function, e.g.
using an async callback, is forbidden. You can FluxSink or
MonoSink based generators for these situations.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public default ContextView | Returns: the current subscriberContextView.Return the current subscriber's context as a |
| public Context | Returns: the current subscriberContext.
Deprecated
To be removed in 3.6.0 at the earliest. Prefer using #contextView() instead.
Return the current subscriber Context.
|
| public void | |
| public void |
| complete | back to summary |
|---|---|
public void complete()
| |
| contextView | back to summary |
|---|---|
| public default ContextView contextView() Return the current subscriber's context as a
| |
| currentContext | back to summary |
|---|---|
| public Context currentContext()
Deprecated To be removed in 3.6.0 at the earliest. Prefer using #contextView() instead. Return the current subscriber
| |
| error | back to summary |
|---|---|
public void error(Throwable e)
| |
| next | back to summary |
|---|---|
| public void next(T t) Try emitting, might throw an unchecked exception.
| |