Changelog
0.3.0 - BACKWARD-INCOMPATIBLE
post
method has been reverted to its original
signature, as provided in Tyler Close's ref_send
API.
That is, post
accepts two arguments, the second of
which is an arbitrary object, but usually invocation
arguments as an Array
. To provide variadic arguments
to post
, there is a new invoke
function that posts
the variadic arguments to the value given in the first
argument.defined
method has been moved from q
to q/util
since it gets no use in practice but is still
theoretically useful.Promise
constructor has been renamed to
makePromise
to be consistent with the convention that
functions that do not require the new
keyword to be
used as constructors have camelCase names.isResolved
function has been renamed to
isFulfilled
. There is a new isResolved
function that
indicates whether a value is not a promise or, if it is a
promise, whether it has been either fulfilled or
rejected. The code has been revised to reflect this
nuance in terminology.Changelog
0.2.9
invoke
method has been added,
to replace post
, since post
will become backward-
incompatible in the next major release.when
call are
now emitted to Node's "uncaughtException"
process
event in addition to being returned as a rejection reason.Changelog
0.2.8
when
call
are now consumed, warned, and transformed into
rejections of the promise returned by when
.Changelog
0.2.7
deep
method on dates and
other primitives. Github issue #11.Changelog
0.2.6
makePromise
, to replace the Promise
function
eventually.makePromise
API such that the fallback
method no longer receives a superfluous resolved
method
after the operator
. The fallback method is responsible
only for returning a resolution. This breaks an
undocumented API, so third-party API's depending on the
previous undocumented behavior may break.Changelog
0.2.5
promiseSend(op, resolved, ...)
method and valueOf
".Changelog
0.2.4
ref
that prevented del
messages from
being received (gozala)Changelog
0.2.1
resolve
and reject
methods of defer
objects now
return the resolution promise for convenience.q/util
, which provides step
, delay
, shallow
,
deep
, and three reduction orders.q/queue
module for a promise Queue
.q-comm
to the list of compatible libraries.defined
from q
, with intent to move it to
q/util
.