-
Recent Posts
Archives
Categories
Meta
Tag Archives: promise
Combining mongoose and Q in node.js
This post will teach you how to write promise-based mongoose code, using Kris Kowal’s Q library. You can also find the code below in the `src/mongoose-and-q` dir of my blog code repository. We have a mongo database with 3 collections: users, … Continue reading
Posted in JavaScript, node.js, software development
Tagged array of promises, callback, javascript, mongo, mongoose, node, node.js, promise, promises, q
4 Comments
Processing an array of promises sequentially in node.js
This post describes how you can perform a sequence of promises sequentially – one after another – using Kriskowal’s Q library in node.js. If you’re just interested in how to do this, and not in the other examples, scroll down … Continue reading
Posted in JavaScript, node.js, software development
Tagged array of promises, javascript, library, node.js, nodejs, promise, promises, q, sequential, serial, upload, upload file, uploading files sequentially
6 Comments