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

How To (elegantly) Interrupt Promises Chain Execution With Q

I have a chain of promises that looks like this: module.exports.deleteCommunityFollower = function … Read more How To (elegantly) Interrupt Promises Chain Execution With Q

Linting Promises In Javascript

I am looking to standardize the use of Q promises in my team's codebase. Are there any good js… Read more Linting Promises In Javascript

How Can I Properly Call A List Of Async Functions In Order?

I am attempting to write a 'robocopy /mir' like function within Node.js and cannot seem to … Read more How Can I Properly Call A List Of Async Functions In Order?

Node.js With Typescript Require And .d.ts Files

I want to create an server side script, for this I require 'Q', so I include the q.d.ts fil… Read more Node.js With Typescript Require And .d.ts Files

How Can I Chain Together Groups Of Promises?

I am using the Q javascript promises library and am running in a browser, and I want to figure out … Read more How Can I Chain Together Groups Of Promises?

Create An Api Which Accepts A Callback, And Also Returns A Promise

So I'm trying to upgrade an existing api to support promises, but I want to maintain backwards … Read more Create An Api Which Accepts A Callback, And Also Returns A Promise

Viewing Objects In Javascript ( Under The Hood )

Im very curious as to how objects are displayed in nodejs and in this case promises. When using con… Read more Viewing Objects In Javascript ( Under The Hood )

Asynchronous Or Promised Condition For Array Filter

I need to filter an array based on a condition that can only be checked asynchronously. return som… Read more Asynchronous Or Promised Condition For Array Filter