public class IPromise<T> extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
IPromise(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static IPromise |
$as(Object obj) |
<TResult> IPromise<TResult> |
then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
<TResult> IPromise<TResult> |
then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback,
Function.A1<? super Object,? extends Object> errorCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
<TResult> IPromise<TResult> |
then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback,
Function.A1<? super Object,? extends Object> errorCallback,
Function.A1<? super Object,? extends Object> notifyCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected IPromise(Objs.Constructor<?> c, Object js)
public <TResult> IPromise<TResult> then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback, Function.A1<? super Object,? extends Object> errorCallback, Function.A1<? super Object,? extends Object> notifyCallback)
public <TResult> IPromise<TResult> then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback)
public <TResult> IPromise<TResult> then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback, Function.A1<? super Object,? extends Object> errorCallback)
Copyright © 2018. All rights reserved.