public static class SyncPromises.SyncPromise<T>
extends elemental2.promise.Promise<T>
Modifier and Type | Field and Description |
---|---|
SyncPromises.Status |
status |
T |
value |
Modifier and Type | Method and Description |
---|---|
<V> elemental2.promise.Promise<V> |
catch_(elemental2.promise.Promise.CatchOnRejectedCallbackFn<? extends V> onRejected) |
<V> elemental2.promise.Promise<V> |
then(elemental2.promise.IThenable.ThenOnFulfilledCallbackFn<? super T,? extends V> onFulfilled) |
public SyncPromises.Status status
public T value
public <V> elemental2.promise.Promise<V> then(elemental2.promise.IThenable.ThenOnFulfilledCallbackFn<? super T,? extends V> onFulfilled)
public <V> elemental2.promise.Promise<V> catch_(elemental2.promise.Promise.CatchOnRejectedCallbackFn<? extends V> onRejected)
catch_
in class elemental2.promise.Promise<T>
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.