public static interface Watch.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted()
Invoked on completion.
|
void |
onError(Throwable throwable)
Invoked on errors.
|
void |
onNext(WatchResponse response)
Invoked on new events.
|
void onNext(WatchResponse response)
response - the response.void onError(Throwable throwable)
throwable - the error.void onCompleted()
Copyright © 2020. All rights reserved.