| Package | Description |
|---|---|
| delight.promise |
Main interfaces and factories.
|
| delight.promise.helper |
Helper classes and interfaces which are public but usually don't have to be instantited by a user.
|
| delight.promise.internal |
Module internal helper classes for promises.
|
| delight.promise.jre |
Classes which are incompatible with a JavaScript environment.
|
| delight.promise.jre.internal |
Module private helper classes for JavaScript incompatible features.
|
| Modifier and Type | Method and Description |
|---|---|
static <ResultType> |
PromisesCommon.createUnsafe(delight.async.Operation<ResultType> operation)
A basic promise implementation which does not allow synchronous access
via .get().
|
| Modifier and Type | Method and Description |
|---|---|
static <R1,R2> void |
PromisesCommon.resolve(Promise<R1> promise1,
Promise<R2> promise2,
delight.async.callbacks.ValueCallback<delight.functional.Pair<R1,R2>> callback) |
static <R1,R2> void |
PromisesCommon.resolve(Promise<R1> promise1,
Promise<R2> promise2,
delight.async.callbacks.ValueCallback<delight.functional.Pair<R1,R2>> callback) |
static void |
PromisesCommon.resolve(delight.async.callbacks.ValueCallback<List<Object>> callback,
Promise... promises) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PromisesCommon.resolve(delight.async.callbacks.ValueCallback<List<Object>> callback,
List<Promise> promisesList) |
| Modifier and Type | Method and Description |
|---|---|
<T> Promise<T> |
PromiseFactory.promise(delight.async.Operation<T> deferred) |
| Modifier and Type | Class and Description |
|---|---|
class |
PromiseImpl<ResultType> |
| Modifier and Type | Method and Description |
|---|---|
static <ResultType> |
Promises.create(delight.async.Operation<ResultType> operation)
Creates a new promise.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Object> |
Promises.parallel(Promise... promises)
Resolves the provided promises in parallel.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> List<Object> |
Promises.parallel(List<Promise<T>> promises)
Resolves the provided promises in parallel.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JrePromiseImpl<ResultType> |
Copyright © 2018. All rights reserved.