Order type. If it is reverse, the last entered will be the first executed. default is normal.
Current promise running object as {key, promiseFunction, promise}.
store all promises objects as {key, promiseFunction, promise}
Get promises objects. Returns the functions that are still in the stack.
Add promise in stack. The function is not called the moment it is added to the stack, but when it is your turn on the stack
Key of promise array, to identify a function.
function to generate the promise
A promise that resolves with the function's response.
flush the stack.
Loop to execute the entire promise stack
Generated using TypeDoc
Class to control promise order Performs chain functions and waits for each promise that the functions return.