Calls the action when the Single signals a terminal event: either onSuccess or onError. The action is called before the observer is called.
onSuccess
onError
Please refer to the corresponding RxJava document.