hunt.net.AsyncResult

Undocumented in source.

Members

Functions

failedResult
AsyncResult!T failedResult(Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
succeededResult
AsyncResult!T succeededResult(T v)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

AsyncResult
interface AsyncResult(T)

Encapsulates the result of an asynchronous operation. <p> Many operations in Vert.x APIs provide results back by passing an instance of this in a {@link hunt.net.Handler}. <p> The result can either have failed or succeeded. <p> If it failed then the cause of the failure is available with {@link #cause}. <p> If it succeeded then the actual result is available with {@link #result}

Meta