public class PromiseLike<T> extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
PromiseLike(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static PromiseLike |
$as(Object obj) |
<TResult> PromiseLike<TResult> |
then() |
<TResult> PromiseLike<TResult> |
then(Function.A1<? super T,? extends Union.A2<TResult,PromiseLike<TResult>>> onfulfilled) |
<TResult> PromiseLike<TResult> |
then(Function.A1<? super T,? extends Union.A2<TResult,PromiseLike<TResult>>> onfulfilled,
Function.A1<? super Object,? extends Void> onrejected) |
$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 PromiseLike(Objs.Constructor<?> c, Object js)
public static PromiseLike $as(Object obj)
public <TResult> PromiseLike<TResult> then(Function.A1<? super T,? extends Union.A2<TResult,PromiseLike<TResult>>> onfulfilled, Function.A1<? super Object,? extends Void> onrejected)
public <TResult> PromiseLike<TResult> then()
public <TResult> PromiseLike<TResult> then(Function.A1<? super T,? extends Union.A2<TResult,PromiseLike<TResult>>> onfulfilled)
Copyright © 2018. All rights reserved.