AsyncResult

interface AsyncResult<T>

Interface to define interaction with deferred results.

Implementations of this class are provided by HandlerContext and should not be overriden/wrapped.

Functions

Link copied to clipboard
abstract fun ctx(): HandlerContext
Link copied to clipboard
open fun <U> map(successMapper: ThrowingFunction<T, CompletableFuture<U>>): AsyncResult<U>
Link copied to clipboard
Link copied to clipboard
abstract fun poll(): CompletableFuture<T>