public class PromiseImpl<T,E extends IError> extends Object implements Promise<T,E>
PromiseImpl()
void
complete(T value)
error(E value, Throwable t)
Promise<T,E>
onError(BiFunction<? super E,? super Throwable,?> fn)
thenApply(Function<? super T,?> fn)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public PromiseImpl()
public Promise<T,E> thenApply(Function<? super T,?> fn)
thenApply
Promise<T,E extends IError>
public Promise<T,E> onError(BiFunction<? super E,? super Throwable,?> fn)
onError
public void complete(T value)
public void error(E value, Throwable t)
Copyright © 2018. All rights reserved.