q v0.9.5 Release Notes
-
- Introduces
inspect
for getting the state of a promise as{state: "fulfilled" | "rejected" | "pending", value | reason}
. - Introduces
allSettled
which produces an array of promises states for the input promises once they have all "settled". This is in accordance with a discussion on Promises/A+ that "settled" refers to a promise that is "fulfilled" or "rejected". "resolved" refers to a deferred promise that has been "resolved" to another promise, "sealing its fate" to the fate of the successor promise. - Long stack traces are now off by default. Set
Q.longStackSupport
to true to enable long stack traces. - Long stack traces can now follow the entire asynchronous history of a promise, not just a single jump.
- Introduces
spawn
for an immediately invoked asychronous generator. @jlongster - Support for experimental synonyms
mapply
,mcall
,nmapply
,nmcall
for method invocation.
- Introduces