public class InternalHelper extends Object
| Constructor and Description |
|---|
InternalHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <V> Handler<AsyncResult<V>> |
asyncResultHandler(CompletableFuture<V> f) |
static <V> AsyncResult<V> |
failure(Throwable t) |
static <V> AsyncResult<V> |
result(V value) |
public static <V> AsyncResult<V> result(V value)
public static <V> AsyncResult<V> failure(Throwable t)
public static <V> Handler<AsyncResult<V>> asyncResultHandler(CompletableFuture<V> f)
Copyright © 2015. All rights reserved.