This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var Q = require('q'); | |
/* | |
Here are some basic examples of promises using the Q library https://github.com/kriskowal/q). | |
To run a specific scenario, install an execution environment and uncomment the respective | |
method call (runScenarioX()). | |
The code is tested using node.js v0.12.7 (https://nodejs.org/en/) and Q v1.4.1 library | |
(https://www.npmjs.com/package/q). | |
*/ |