Hi there,
In JavaScript, have a need to retreive data from two API calls and use both to process data for the display.
For example; one call returns tasks with a user id, the other returns a list of user id's and names. Before I display onscreen I want to process the user ids so that the user name is shown against the task data.
(The best I can think of is a flag for each response (set to true when done)which is checked by the other call(s). So that only the last call would proceed to build the page).
Any advice would be hugely appreciated.
Many Thanks, Chris.