Something that can go through a transition and is meant to be be completed, i.e either fulfilled or rejected.

By: Julien Viet

no type hierarchy

no supertypes hierarchy

Inherited Attributes
Attributes inherited from: Object
completeSource Codeshared void complete(Value|Promise<Value>|Throwable val)

Complete the promise: either fulfill or reject it

fulfillSource Codeshared formal void fulfill(Value|Promise<Value> val)

Fulfills the promise with a value or a promise to the value.

rejectSource Codeshared formal void reject(Throwable reason)

Rejects the promise with a reason.

Inherited Methods
Methods inherited from: Object