An approach many use:

https://github.com/caolan/async#parallel


-- Daniel R. <[email protected]> [http://danielr.neophi.com/]

On Tue, Feb 24, 2015 at 2:18 AM, prem Kumar <[email protected]> wrote:

> Hi,
>
> Need to access multiple API calls and combine all the response from the
> API and use the response in view page. I am using node-rest-client module
> for accessing API.
>
> Example, category, product and use API and store all the data in one
> variable to use in view page...
>
> I used separate block for each API call, but some response get delayed and
> not able to get in view page..
>
> Please guide me to solve this issue with some examples..
>
>
>
> Thanks,
>
> Premkumar M
>
>
>  --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/c8b2d979-f06e-4f16-9c71-57bd3b2a650f%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/c8b2d979-f06e-4f16-9c71-57bd3b2a650f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAETDeSBW9TN4tjhKTwPH5isM_Wr%3Dmu6j3YsEVt46nHcfN1mMJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to