public class IDeferred<T> extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<IPromise<T>> |
promise |
Modifier | Constructor and Description |
---|---|
protected |
IDeferred(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static IDeferred |
$as(Object obj) |
void |
notify(Object state) |
IPromise<T> |
promise() |
void |
reject() |
void |
reject(Object reason) |
void |
resolve() |
void |
resolve(IPromise<T> value) |
void |
resolve(T value) |
$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
public Objs.Property<IPromise<T>> promise
protected IDeferred(Objs.Constructor<?> c, Object js)
Copyright © 2018. All rights reserved.