I have completed most of what is necessary for the Twitch TV project and found it pretty easy up until trying to fufill this user story:
I will see a placeholder notification if a streamer has closed their Twitch account (or the account never existed). You can verify this works by adding brunofin and comster404 to your array of Twitch streamers.
For the rest of the project I have used twitch-api/streams/
api call, but now need to use twitch-api/users/ to find out if the streamer exists or not.Needing multiple API calls has introduced me to the importance of understanding asynchronous code and I am now pretty lost trying to learn about callbacks/promises and feel completely out of my depth to be honest and do not know which way to proceed.
what would be the best way to go about fulfilling this user story?