Skip to content

Instantly share code, notes, and snippets.


Fawn Bertram Faline10

View GitHub Profile
Faline10 / promises.js
Created Mar 27, 2017 — forked from danthareja/promises.js
A conjurer's guide to promises
View promises.js
* A quick example of how to use Bluebird and Q to conjure your own promises
* Everything going on here is explained further in the following video:
// Import node modules
var Q = require('q');