A C D E G H L O P R S T V 

A

all(Array<Promise<Result, FailResponse>>) - Static method in class org.stjs.bridge.rsvp.RSVP
Sometimes you might want to work with many promises at once.
allSettled(Array<Promise<Result, FailResponse>>) - Static method in class org.stjs.bridge.rsvp.RSVP
Creates a new Promise that is fulfilled when all of the specified promises are either fulfilled or rejected.

C

childGuid - Variable in class org.stjs.bridge.rsvp.PromiseEvent
child of child promise (for chained via `then`)
configure(String, Object) - Static method in class org.stjs.bridge.rsvp.RSVP
Configures an option of RSVP.
configure(String) - Static method in class org.stjs.bridge.rsvp.RSVP
Reads the value of an option of RSVP

D

defer() - Static method in class org.stjs.bridge.rsvp.RSVP
Sometimes one needs to create a deferred object, without immediately specifying how it will be resolved.
Deferred<Result,FailResponse> - Class in org.stjs.bridge.rsvp
Sometimes one needs to create a deferred object, without immediately specifying how it will be resolved.
detail - Variable in class org.stjs.bridge.rsvp.PromiseEvent
fulfillment value or rejection reason, if applicable

E

eventName - Variable in class org.stjs.bridge.rsvp.PromiseEvent
one of ['created', 'chained', 'fulfilled', 'rejected']

G

guid - Variable in class org.stjs.bridge.rsvp.PromiseEvent
guid of promise.

H

hash(Map<String, Promise<Object, FailResponse>>) - Static method in class org.stjs.bridge.rsvp.RSVP
If you need to reference many promises at once (like all()), but would like to avoid encoding the actual promise order you can use hash().
hashSettled(Map<String, Promise<Result, FailResponse>>) - Static method in class org.stjs.bridge.rsvp.RSVP
Creates a new Promise that is fulfilled when all of the specified promises are either fulfilled or rejected.

L

label - Variable in class org.stjs.bridge.rsvp.PromiseEvent
label passed to promise's constructor

O

on(String, Callback1<PromiseEvent>) - Static method in class org.stjs.bridge.rsvp.RSVP
Add a global listener for all promises on a specific type of event.
org.stjs.bridge.rsvp - package org.stjs.bridge.rsvp
 

P

promise - Variable in class org.stjs.bridge.rsvp.Deferred
Returns the promise that is wrapped by this Deferred object.
Promise<Result,FailResult> - Class in org.stjs.bridge.rsvp
 
Promise(Callback2<Callback1<Result>, Callback1<FailResult>>) - Constructor for class org.stjs.bridge.rsvp.Promise
Constructs a new Promise instance where the resolution or rejection state is controlled by the specified handler function.
PromiseEvent - Class in org.stjs.bridge.rsvp
 

R

reason - Variable in class org.stjs.bridge.rsvp.SettleResult
The reason for a rejected promise, or null if fulfilled
reject(FailResponse) - Method in class org.stjs.bridge.rsvp.Deferred
Rejects this Deferred's underlying promise, passing the specified value to the reject handler of all thenables chained to the promise
resolve(Result) - Method in class org.stjs.bridge.rsvp.Deferred
Resolves this Deferred's underlying promise, passing the specified value to all then thenables chained to the promise
RSVP - Class in org.stjs.bridge.rsvp
 
RSVP() - Constructor for class org.stjs.bridge.rsvp.RSVP
 

S

SettleResult<Result,FailResult> - Class in org.stjs.bridge.rsvp
 
stack - Variable in class org.stjs.bridge.rsvp.PromiseEvent
stack at the time of the event.
state - Variable in class org.stjs.bridge.rsvp.SettleResult
Either "fulfilled" or "rejected"

T

then(Callback1<? super Result>) - Method in class org.stjs.bridge.rsvp.Promise
Calls the specified callback when the promise is resolved.
then(Callback1<? super Result>, Callback1<? super FailResult>) - Method in class org.stjs.bridge.rsvp.Promise
Calls one of the specified callbacks when the promise is resolved or rejected respectively.
thenPromise(Function1<? super Result, Promise<NewResult, NewFailResult>>) - Method in class org.stjs.bridge.rsvp.Promise
Calls the specified success callback with the resolution value as argument when the promise is resolved.
thenPromise(Function1<? super Result, Promise<NewResult, NewFailResult>>, Function1<? super FailResult, Promise<NewResult, NewFailResult>>) - Method in class org.stjs.bridge.rsvp.Promise
Calls the specified callbacks when the promise is resolved or rejected respectively.
thenReturn(Function1<? super Result, NewResult>) - Method in class org.stjs.bridge.rsvp.Promise
Calls the specified success callback with the resolution value as argument when the promise is resolved.
thenReturn(Function1<? super Result, NewResult>, Function1<? super FailResult, NewFailResult>) - Method in class org.stjs.bridge.rsvp.Promise
Calls the specified callbacks when the promise is resolved or rejected respectively.
timeStamp - Variable in class org.stjs.bridge.rsvp.PromiseEvent
milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now

V

value - Variable in class org.stjs.bridge.rsvp.SettleResult
The result of a fulfilled promise, or null if rejected
A C D E G H L O P R S T V 

Copyright © 2015. All Rights Reserved.