Created
August 12, 2018 12:31
-
-
Save JustinDFuller/5cb609d74f417ccf85dd920c53b49569 to your computer and use it in GitHub Desktop.
Using Bluebird with promise-funnel
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
import Promise from 'bluebird' | |
import createFunnel from 'promise-funnel' | |
const funnel = createFunnel({ | |
Promise, // promise-funnel will use Bluebird promises now | |
}) | |
// The usage is exactly the same as before after this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment