public interface Thenable<V>
限定符和类型 | 方法和说明 |
---|---|
Promise<?> |
then(Action<V> onfulfill,
Action<Throwable> onreject) |
<R> Promise<R> |
then(AsyncFunc<R,V> onfulfill,
AsyncFunc<R,Throwable> onreject) |
<R> Promise<R> |
then(AsyncFunc<R,V> onfulfill,
Func<R,Throwable> onreject) |
<R> Promise<R> |
then(Func<R,V> onfulfill,
AsyncFunc<R,Throwable> onreject) |
<R> Promise<R> |
then(Func<R,V> onfulfill,
Func<R,Throwable> onreject) |
Copyright © 2016. All rights reserved.