Ask a question to get started
Enter to send•Shift+Enter new line
Called when a stream is fully consumed, errors, or gets closed early.
public Unit onComplete(Optional<Throwable> error)
Called when a stream is fully consumed, errors, or gets closed early. [onNext] will not be called once this method is called.
error
Optional<Throwable>
Non-empty if the stream completed due to an error.