Protected
itemsThe list of items, sorted by priority (smallest number first)
Static
DEFAULTPRIORITYThe default priority for items added to the list
Make the list iterable, and return the data for the items in the list
The object containing the iterator's next() function
Add an item to the list
The data for the item to be added
The priority for the item
The data itself
Executes the functions in the list (in prioritized order) asynchronously, passing the given data to the functions, and doing the next function only when the previous one completes. If the function returns a Promise, then use that to control the flow. Otherwise, if the function returns false, the list is terminated. This function returns a Promise. If any function in the list fails, the promise fails. If any function returns false, the promise succeeds, but passes false as its argument. Otherwise it succeeds and passes true.
The array of arguments to pass to the functions
The promise that is satisfied when the function list completes (with argument true or false depending on whether some function returned false or not).
Executes the functions in the list (in prioritized order), passing the given data to the functions. If any return false, the list is terminated.
The array of arguments to pass to the functions
False if any function stopped the list by returning false, true otherwise
Remove an item from the list
The data for the item to be removed
The list (for chaining of calls)
Implements the FunctionList class (extends PrioritizedList)