Commits

masklinn committed 3cc7096

method for adding new promises is push, not put

Comments (0)

Files changed (1)

 
 Deferred.queue has a very simple life cycle: it is dormant when
 created, it starts working as soon as promises get added to it (via
-``.put``, or by providing them directly to its constructor), and as
+``.push``, or by providing them directly to its constructor), and as
 soon as the last promise in the queue is resolved it resolves itself.
 
 If any promise in the queue fails, the queue itself will be rejected
   Creates a new deferred queue. Can be primed with a series of promise
   objects.
 
-``.put(promise[, promises...])``
+``.push(promise[, promises...])``
   Adds promises to the queue. Returns the queue itself (can be
   chained).