Created
September 7, 2016 16:42
-
-
Save yunghoy/65e845c8c6b3f7ed847fce03cb8e584f to your computer and use it in GitHub Desktop.
moving to await/async
This file contains hidden or 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
| var Promise = require('bluebird'); | |
| var redis = Promise.promisifyAll(require('redis')); | |
| var redis = require('bluebird').promisifyAll(require('redis')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment