Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.13 KB

README.md

File metadata and controls

20 lines (13 loc) · 1.13 KB

Q-Promises

The purpose of this small respository is to maintain a selection of example uses of Q for reference and learning.

Kriskowal's tutorial is fine, but a few examples from a third party never hurt anyone :)

Installation

First, using npm, run npm install --dependencies to install the dependencies, and simply run the example you'd like to see the result of using node like so:

node mimicked-delay.js

Example Finder

  • I just want to see a really basic chaining example
  • I want to see an example of how to make an HTTP Request, then process the Response, and then do something with the processed response
  • I have some functions that can happen simultaneously, and others which must happen in a certain order - how do I do that?