Skip navigation links
A C D F G J O P R T 

A

addExceptionFallback(Closure<Throwable>) - Method in class delight.promise.internal.PromiseImpl
 
addExceptionFallback(Closure<Throwable>) - Method in interface delight.promise.Promise
Registeres a listener for exceptions, which is triggered when no listeners have been defined using Promise.catchExceptions(Closure)
apply(ValueCallback<ResultType>) - Method in class delight.promise.internal.PromiseImpl
 

C

cachedResult() - Method in class delight.promise.internal.PromiseImpl
 
cachedResult() - Method in interface delight.promise.Promise
If this promises has been resolved, the result obtained will be returned by this function.
catchExceptions(Closure<Throwable>) - Method in class delight.promise.internal.PromiseImpl
 
catchExceptions(Closure<Throwable>) - Method in interface delight.promise.Promise
Register a listener of exceptions.
create(Operation<ResultType>) - Static method in class delight.promise.jre.Promises
Creates a new promise.
createDirectFactory() - Static method in class delight.promise.jre.Promises
Creates a factory, which instantiates promieses directly instead of a factory for PromiseFactor as createPromiseFactory() does.
createPromiseFactory() - Static method in class delight.promise.jre.Promises
Creates a factory for promises.
createUnsafe(Operation<ResultType>) - Static method in class delight.promise.PromisesCommon
A basic promise implementation which does not allow synchronous access via .get().
createUnsafePromiseFactory() - Static method in class delight.promise.PromisesCommon
Creates a factory for unsafe promises.

D

delight.promise - package delight.promise
Main interfaces and factories.
delight.promise.helper - package delight.promise.helper
Helper classes and interfaces which are public but usually don't have to be instantited by a user.
delight.promise.internal - package delight.promise.internal
Module internal helper classes for promises.
delight.promise.jre - package delight.promise.jre
Classes which are incompatible with a JavaScript environment.
delight.promise.jre.internal - package delight.promise.jre.internal
Module private helper classes for JavaScript incompatible features.

F

failureCache - Variable in class delight.promise.internal.PromiseImpl
 

G

get() - Method in class delight.promise.internal.PromiseImpl
 
get(Closure<ResultType>) - Method in class delight.promise.internal.PromiseImpl
 
get() - Method in class delight.promise.jre.internal.JrePromiseImpl
 
get() - Method in interface delight.promise.Promise
Attempts to resolve this promise synchronously.
get(Closure<ResultType>) - Method in interface delight.promise.Promise
Attempts to resolve this promise asynchronously.

J

JrePromiseImpl<ResultType> - Class in delight.promise.jre.internal
 
JrePromiseImpl(Operation<ResultType>) - Constructor for class delight.promise.jre.internal.JrePromiseImpl
 

O

operation - Variable in class delight.promise.internal.PromiseImpl
 

P

parallel(List<Promise<T>>) - Static method in class delight.promise.jre.Promises
Resolves the provided promises in parallel.
parallel(Promise...) - Static method in class delight.promise.jre.Promises
Resolves the provided promises in parallel.
parallel(Operation...) - Static method in class delight.promise.jre.Promises
 
promise(Operation<T>) - Method in interface delight.promise.helper.PromiseFactory
 
Promise<ResultType> - Interface in delight.promise
Type for variables which hold promises.
PromiseConfiguration - Class in delight.promise
 
PromiseConfiguration() - Constructor for class delight.promise.PromiseConfiguration
 
PromiseFactory - Interface in delight.promise.helper
 
PromiseImpl<ResultType> - Class in delight.promise.internal
 
PromiseImpl(Operation<ResultType>) - Constructor for class delight.promise.internal.PromiseImpl
 
Promises - Class in delight.promise.jre
Create and resolve promises in a JSE/Android/OSGi environment.
Promises() - Constructor for class delight.promise.jre.Promises
 
PromisesCommon - Class in delight.promise
Promise operations which are portable across Java and JavaScript.
PromisesCommon() - Constructor for class delight.promise.PromisesCommon
 

R

resolve(ValueCallback<List<Object>>, Promise...) - Static method in class delight.promise.PromisesCommon
 
resolve(ValueCallback<List<Object>>, List<Promise>) - Static method in class delight.promise.PromisesCommon
 
resolve(Promise<R1>, Promise<R2>, ValueCallback<Pair<R1, R2>>) - Static method in class delight.promise.PromisesCommon
 

T

toString() - Method in class delight.promise.internal.PromiseImpl
 
A C D F G J O P R T 
Skip navigation links

Copyright © 2018. All rights reserved.