With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →
Async Alternatives
Similar projects and alternatives to async
-
-
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
Bluebird
:bird: :zap: Bluebird is a full featured promise library with unmatched performance.
-
-
Simple-Series-Parallel
A minimalist utility module for running async functions in series or parallel
-
neo-async
Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
-
-
lodash
A modern JavaScript utility library delivering modularity, performance, & extras.
-
-
-
Nodemon.io
Monitor for any changes in your node.js application and automatically restart the server - perfect for development
-
-
-
-
-
fs-extra
Node.js: extra methods for the fs object like copy(), remove(), mkdirs()
-
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
async reviews and mentions
-
I Avoid Async/Await
Async/await is certainly not promises. In fact it would be much better implemented without promises as I proposed here: https://es.discourse.group/t/callback-based-simplified-async...
I would even say that async/await is anti-promise, it takes the main functionality of promises, a caching layer for results and errors that allows you to add the code continuation later and elsewhere (which is a major footgun imo) and coerces the execution flow back to going on the next line and provided immediately at compile time which results in a cleaner flow but not as clean, stateless, efficient or functional as if you were to remove the promises completely. Having an additional caching layer and state machine around every asynchronous function call is quite inefficient.
The essence of async/await is not promises, it's the underlying javascript generator (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) functionality combined with asynchronous code to stop and start the generator. It's the ability to pause and resume function execution based on asynchronous operations.
The promise functionality, the caching layer and state machine for results is basically sanitized away with async/await, it becomes dead-weight computation. The only benefit of promises in async/await code is being able to more easily interface with other promise laden code which you don't need once you have async/await and a library like https://www.npmjs.com/package/async for more complex cases.
Note that promises based async/await is also a mess of an implementation that breaks stack traces and needs to support tons of odd statement corner cases (basically anything that can return an object that could be a promise) whereas a continuation passing style async/await would be a much simpler implementation that would only apply to function calls and maintain stack traces. We get that stack trace support automatically because of the great work of whoever implemented javascript generators which seem to already carry stack traces across paused/resumed functions (if you don't wrap in promises).
-
Some questions about events and promises
I don't understand. Sure you could spawn a ton of processes, but things might be bogged down. There are utilities out there for doing work queues.... so only N workers are running at any one time. The async library has some utilities for that. https://github.com/caolan/async
- what's your hidden gem package?
-
Introduction to Asynchronous JavaScript
If you are using lots of asynchronous functions, it can be worthwhile to use an asynchronous function library, instead of having to create your own utility functions. Async.js is a popular library that has many useful tools for dealing with asynchronous code.
-
Implementing 429 retries and throttling for API rate-limits
There is a node package called async implementing this behavior (among many other things) in a function called mapLimit.
-
[AskJS] What is the one npm package that changed your life?
async
-
7 tips for a Node.js developer
Async.js https://github.com/caolan/async or “async” allows you to easily execute functions in series or parallel without the need of nesting them back to back.
-
A note from our sponsor - SurveyJS
surveyjs.io | 18 Mar 2024
Stats
caolan/async is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of async is JavaScript.