public interface ObserverCallback<T>
ObserverCallback interface represents an asynchronous callback returning multiple
values.| Modifier and Type | Method and Description |
|---|---|
void |
onComplete()
Callback for when the request is successfully executed for the last element.
|
void |
onError(DomainException e)
Callback for when the request encounters an error.
|
void |
onNext(T t)
Callback for when the request is successfully executed and has a proceeding action.
|
void onNext(T t)
onError(DomainException) or onComplete().t - the expected item returned by the requestvoid onComplete()
onNext(Object) or onError(DomainException).void onError(DomainException e)
onNext(Object) or onComplete().e - See DomainException