Class: WatchResult

vertx-consul-js/watch_result~ WatchResult

new WatchResult()

Source:

Methods

cause() → {todo}

A Throwable describing failure. This will be null if the operation succeeded.
Source:
Returns:
the cause or null if the operation succeeded.
Type
todo

failed() → {boolean}

Did it fail?
Source:
Returns:
true if it failed or false otherwise
Type
boolean

nextResult() → {Object}

The next result of the operation. This will be null if the operation failed.
Source:
Returns:
the next result or null if the operation failed.
Type
Object

prevResult() → {Object}

The previous result of the operation.
Source:
Returns:
the previous result.
Type
Object

succeeded() → {boolean}

Did it succeed?
Source:
Returns:
true if it succeded or false otherwise
Type
boolean