You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to run 'n' asynchronous functions in parallel such that it will pass the callback with no error when say some ( or atleast 1 ) function didn't returned err.
Use Case :
Suppose, I am making 'n' API calls for the data to 'n' different servers. Even if one of them returned me the data and rest (n-1) returned me error, I should be able to use this data calling the 'final callback' with no-error.
While making 'n' API calls, the-final callback is called immediately as soon as one function returned the data.
If there exists a way, Kindly tell.
Thanks.
The text was updated successfully, but these errors were encountered:
Closing this in favor of #568. Note that there is already async.detect, that exits when it receives a truthy value, but it doesn't follow node conventions exactly, so it could be cumbersome to use.
Is there a way to run 'n' asynchronous functions in parallel such that it will pass the callback with no error when say some ( or atleast 1 ) function didn't returned err.
Use Case :
If there exists a way, Kindly tell.
Thanks.
The text was updated successfully, but these errors were encountered: