@JsType(name="Promise",
isNative=true)
public interface Promise
| Modifier and Type | Method and Description |
|---|---|
Promise |
always(Functions.EventFunc1<Object> f) |
Promise |
done(Functions.EventFunc1<Object> f) |
Promise |
fail(Functions.EventFunc1<Object> f) |
Promise |
then(Functions.EventFunc1<Object> f) |
Promise |
then(Functions.FuncRet1<Object> f) |
Promise |
when(Functions.EventFunc1<Object> f) |
Promise then(Functions.FuncRet1<Object> f)
Promise then(Functions.EventFunc1<Object> f)
Promise done(Functions.EventFunc1<Object> f)
Promise when(Functions.EventFunc1<Object> f)
@JsMethod(name="catch") Promise fail(Functions.EventFunc1<Object> f)
Promise always(Functions.EventFunc1<Object> f)
Copyright © 2023. All rights reserved.