Bookmarks tagged [promises]
- tags: deno, javascript, promises
https://www.youtube.com/watch?v=XV-u_Ow47s0
When a customer comes to us with a complaint that their code is running slowly, our first question has become, "Are you using Promises?". When they predictably tell us yes, our response has become, "Y...
- 📆 published on: 2019-12-19
- tags: node.js, javascript, promises
- source code
https://github.com/toniov/p-iteration
- tags: javascript, foreach, map, promise, promises
http://jamesknelson.com/grokking-es6-promises-the-four-functions-you-need-to-avoid-callback-hell/
Apart from being new and shiny, Promises are a great way to clean up your code, reduce dependencies on external libraries, and prepare yourself for async and await in ES7. Developers who use them swea...
- 📆 published on: 2018-10-01
- tags: javascript, promise, promises
https://github.com/petkaantonov/bluebird
Promise library with focus on innovative features and performance.
- tags: node.js, control-flow, promises
- source code
https://github.com/sindresorhus/pify
Promisify a callback-style function.
- tags: node.js, control-flow, promises
- source code
https://github.com/sindresorhus/delay
Delay a promise a specified amount of time.
- tags: node.js, control-flow, promises
- source code
https://github.com/nodeca/promise-memoize
Memoize promise-returning functions, with expire and prefetch.
- tags: node.js, control-flow, promises
- source code
https://github.com/lpinca/valvelet
Limit the execution rate of a promise-returning function.
- tags: node.js, control-flow, promises
- source code
https://github.com/sindresorhus/p-map
Map over promises concurrently.
- tags: node.js, control-flow, promises
- source code
https://github.com/sindresorhus/promise-fun
Promise packages, patterns, chat, and tutorials. Contribute to sindresorhus/promise-fun development by creating an account on GitHub.
- tags: node.js, control-flow, promises
- source code
https://github.com/wbinnssmith/awesome-promises#readme
A curated list of useful resources for JavaScript Promises - wbinnssmith/awesome-promises
https://www.npmjs.com/package/chai-as-promised
Extends Chai with assertions about promises.
You can write code that expresses what you really mean:
- tags: node.js, chai, unit-testing, promises
- source code