{"action":"closed","issue":{"url":"https://api.github.com/repos/caolan/async/issues/591","labels_url":"https://api.github.com/repos/caolan/async/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/caolan/async/issues/591/comments","events_url":"https://api.github.com/repos/caolan/async/issues/591/events","html_url":"https://github.com/caolan/async/issues/591","id":39711398,"number":591,"title":"'Some/Detect' ControlFlow","user":{"login":"paraggupta1993","id":1223905,"avatar_url":"https://avatars.githubusercontent.com/u/1223905?v=3","gravatar_id":"","url":"https://api.github.com/users/paraggupta1993","html_url":"https://github.com/paraggupta1993","followers_url":"https://api.github.com/users/paraggupta1993/followers","following_url":"https://api.github.com/users/paraggupta1993/following{/other_user}","gists_url":"https://api.github.com/users/paraggupta1993/gists{/gist_id}","starred_url":"https://api.github.com/users/paraggupta1993/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paraggupta1993/subscriptions","organizations_url":"https://api.github.com/users/paraggupta1993/orgs","repos_url":"https://api.github.com/users/paraggupta1993/repos","events_url":"https://api.github.com/users/paraggupta1993/events{/privacy}","received_events_url":"https://api.github.com/users/paraggupta1993/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caolan/async/labels/feature","name":"feature","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-07T10:16:17Z","updated_at":"2015-06-02T01:47:43Z","closed_at":"2015-06-02T01:47:43Z","body":"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.\r\n\r\nUse Case :\r\n1. 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. \r\n2. While making 'n' API calls, the-final callback is called immediately as soon as one function returned the data.\r\n\r\nIf there exists a way, Kindly tell. \r\n\r\nThanks."}}