promises-training
promise-fun
promises-training | promise-fun | |
---|---|---|
2 | 2 | |
722 | 4,585 | |
- | - | |
9.1 | 3.7 | |
about 2 months ago | 19 days ago | |
TypeScript | ||
GNU General Public License v3.0 or later | Creative Commons Zero v1.0 Universal |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
promises-training
promise-fun
-
How to learn Asynchronous JavaScript? I'm watching lectures and doing exercises, and feel like I'm still not retaining anything, it all seems arbitrary. How do I grok this?
Checkout http://caolan.github.io/async/v3/ and https://github.com/sindresorhus/promise-fun few methods that you interested in and Recreate yourself not just with callbacks, use promise then async/await.
-
Running dozens of API requests asynchronously.
What do them serially? Use a rate limiter to limit the number of requests concurrently if you donβt want to overwhelm the backend (like p-queue - see https://github.com/sindresorhus/promise-fun ).
What are some alternatives?
await-to-js - Async await wrapper for easy error handling without try-catch
p-map - Map over promises concurrently
async-interval-job - β¨ setInterval for promises and async/sync functions. Support graceful shutdown and prevent multiple executions from overlapping in time.
ava - Node.js test runner that lets you develop with confidence π
awesome-nodejs - :zap: Delightful Node.js packages and resources
vue-promise-dialogs - A tiny & modern library that allows you to work with dialogs as with asynchronous functions.
awesome-solid-js - Curated resources on building sites with SolidJS, a brand new way(now 1.0) to build Javascript based interactive web applications. A very close looking cousin to React/JSX by syntax, and to Svelte by few important principles(compiler and fine-grained reactivity), it's a highly optimised way to deliver web applications with best-in-class performance.
SwiftCoroutine - Swift coroutines for iOS, macOS and Linux.
awesome-standard - Documenting the explosion of packages in the standard ecosystem!
ts-async-kit - the easiest API to deal with promises in Typescript. Currently, β©οΈ Retrying πββοΈ looping & π΄ sleeping
awesome-oss-alternatives - Awesome list of open-source startup alternatives to well-known SaaS products π