Skip to content

Instantly share code, notes, and snippets.

@JustinDFuller
Created August 12, 2018 12:31
Show Gist options
  • Select an option

  • Save JustinDFuller/5cb609d74f417ccf85dd920c53b49569 to your computer and use it in GitHub Desktop.

Select an option

Save JustinDFuller/5cb609d74f417ccf85dd920c53b49569 to your computer and use it in GitHub Desktop.
Using Bluebird with promise-funnel
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