T
- The publishers result typepublic static class SubscriberHelpers.PrintSubscriber<T> extends SubscriberHelpers.OperationSubscriber<T>
Constructor and Description |
---|
PrintSubscriber(java.lang.String message)
A Subscriber that outputs a message onComplete.
|
Modifier and Type | Method and Description |
---|---|
void |
onComplete() |
onSubscribe
await, await, get, getError, getReceived, getSubscription, isCompleted, onError, onNext
public PrintSubscriber(java.lang.String message)
message
- the message to output onCompletepublic void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<T>
onComplete
in class SubscriberHelpers.ObservableSubscriber<T>