bluebirdish
bluebird's fancy api but with native promises
Works in environments with native Promises and class syntax!
Install
npm install bluebirdish
Usage
var Bluebirdish =
API
The API is the same as Bluebird's. These features are implemented:
- .then()
- .spread()
- .catch()
- .finally()
- Promise.resolve()
- Promise.reject()
- Promise.join()
- Promise.try()
- Promise.method()
- Promise.all()
- Promise.props()
- Promise.any()
- Promise.some()
- Promise.map()
- Promise.reduce()
- Promise.filter()
- Promise.each()
- Promise.mapSeries()
- Promise.race()
- Promise.using()
- .disposer()
- Promise.promisify()
- Promise.promisifyAll()
- Promise.fromCallback()
- .asCallback(), .nodeify()
- Promise.delay()
- .timeout()
- .cancel()
- Promise.coroutine()
- Promise.coroutine.addYieldHandler()
- Promise.spawn()
- .tap()
- .tapCatch()
- .call()
- .get()
- .return()
- .throw()
- .catchReturn()
- .catchThrow()
- .reflect()
- Promise.getNewLibraryCopy()
- OperationalError
- TimeoutError
- CancellationError
- AggregateError