AsyncResult
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
Link copied to clipboard
abstract fun <U> map(successMapper: ThrowingFunction<T, CompletableFuture<U>>, failureMapper: ThrowingFunction<TerminalException, CompletableFuture<U>>): AsyncResult<U>
Link copied to clipboard
open fun mapFailure(failureMapper: ThrowingFunction<TerminalException, CompletableFuture<T>>): AsyncResult<T>
Link copied to clipboard