Skip to content Skip to sidebar Skip to footer
Showing posts with the label Bluebird

Run Bluebird Promises Sequentially, Without Return Values?

This question has been asked in a variety of ways, but not quite as simply. How would this Promise.… Read more Run Bluebird Promises Sequentially, Without Return Values?

How To Turn Nested Callback Into Promise?

Recently I started using pg-promise with bluebird library. I have always been nesting callback and … Read more How To Turn Nested Callback Into Promise?

Bluebird Promise Serial Iteration, And Resolve To Modified Array?

I have this promise that creates a new Item document if it's not found in the db, and then stor… Read more Bluebird Promise Serial Iteration, And Resolve To Modified Array?

Promises With Fs And Bluebird

I'm currently learning how to use promises in nodejs so my first challenge was to list files in… Read more Promises With Fs And Bluebird

How Do You Avoid The Promise Constructor Antipattern With Promise.all

How do you avoid the promise constructor antipattern when using multiple promises and Promise.all? … Read more How Do You Avoid The Promise Constructor Antipattern With Promise.all

Problems With Sequelize Promises And Normal Node.js Callbacks

I'm using Sequelize in an application that uses normal node.js style callbacks in most of its c… Read more Problems With Sequelize Promises And Normal Node.js Callbacks