Run multiple commands concurrently. Like npm run watch-js & npm run watch-less but better. I like task automation with npm but the usual way to run multiple commands concurrently is npm run watch-js & npm run watch-css. That's fine but it's hard to keep on track of different outputs. Also if one process fails, others still keep running and you won't even notice the difference.
bash concurrent parallel concurrently command shA tiny (~400B) utility that executes a dependency graph of async functions as concurrently as possible.
graph dag dependency concurrently async function solver topologicalSettle promises concurrently and get their fulfillment value or rejection reason
promise settle settled resolved iterator fulfill reject fulfilled rejected reflect inspect error async await promises concurrently concurrency parallel bluebirdReturns a Promise that is fulfilled when all promises returned from mapper are fulfilled, or rejects if any of the promises reject. The fulfilled value is an Array of the fulfilled values returned from mapper in order.Number of times to call mapper.
promise times number count loop iterate async await promises concurrently concurrency parallel bluebirdSimilar to Promise.all(), but accepts functions instead of promises directly so you can limit the concurrency.If you're doing the same work in each function, use p-map instead.
promise all function func fn limited limit control rate collection iterable iterator fulfilled async await promises concurrent concurrently concurrency parallel bluebirdUseful when you need to run promise-returning & async functions multiple times with different inputs concurrently and get a filtered down result.Returns a Promise that is fulfilled when all promises in input and ones returned from filterer are fulfilled, or rejects if any of the promises reject. The fulfilled value is an Array of the fulfilled values returned from filterer in input order.
promise filter collection iterable iterator fulfilled async await promises concurrently concurrency parallel bluebirdUseful when you need to run promise-returning & async functions multiple times with different inputs concurrently.Returns a Promise that is fulfilled when all promises in input and ones returned from mapper are fulfilled, or rejects if any of the promises reject. The fulfilled value is an Array of the fulfilled values returned from mapper in input order.
promise async-functions concurrency mapper nodejs parallel promises async async-await await iteration map resolved wait collection iterable iterator race fulfilled concurrently bluebirdUseful when you need to run multiple promises concurrently and keep track of the fulfilled values by name.Returns a Promise that is fulfilled when all promises in input are fulfilled, or rejects if any of the promises reject. The fulfilled value is the same as input, but with a fulfilled version of each entry value.
promise props map object values obj properties entries async await promises concurrently concurrency parallel bluebirdIt does exponential backoff and supports custom retry strategies for failed operations.Returns a Promise that is fulfilled when calling input returns a fulfilled promise. If calling input returns a rejected promise, input is called again until the max retries are reached, it then rejects with the last rejection reason.
promise retry retries operation failed rejected try exponential backoff attempt async await promises concurrently concurrency parallel bluebirdLike Array.some for promises. Returns a Promise that is fulfilled when any promise in input and ones returned from testFn are fulfilled, or rejects if any of the promises reject. The fulfilled value is a boolean that is true if any promise passed the test and false otherwise.
promise concurrency async-await async-functions nodejs parallel test async await iteration bluebird collection concurrently filter fulfilled iterable iterator promises someYou may think why this exists, what is this for, why not Sindre's microlibs like p-map, p-map-series, p-settle, p-each-series or p-reduce. They do their jobs okey, but in some cases they don't. And that's the my case. I need control over "fast fail" behavior, also known as "settle" or "bail". I need serial and parallel iteration, but parallel with concurrency too. They requires node v4, and uses native Promise constructor. I believe in that we should not use modern things if we don't need them, it is just syntax sugar. This package is written in way that works in node versions below v4 and also you can pass custom Promise constructor through options.Promise if you want.
promises async control control-flow each parallel concurrent series serial concurrency foreach hooks await aftereach asyncawait bail beforeeach concurrently eachlimit eachof eachofseries eachseries failfast finish fun hook hooksystem iterate iteration iterator limit map mapper mapseries prom promise serially settle start
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.