map
Call fn
, which returns a promise, on each item in array
, returning new array.
var q = ;; // extends q var { return q;}; var array = 1 2 3 ; q;
each
Like map
except new array is not created.
find
Find first object in array
satisfying the condition returned by the promise returned by fn
.
var array = 1 2 3 ;q;
until
Loop until the promise returned by fn
returns a truthy value.
q;
addBack
Allow one to place node-styled callback onto promise. This exits the promise run-loop so that it no longer catches exceptions.
promise;