QuestionQ95Verified/Understanding and Using APIsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements describe the characteristics of an asynchronous API call?Choose twoACode execution blocks or waits for the call to an API to return.BA callback function typically is used to process the response from an API call.CA call to an API does not block the code, but rather it allows application processing to continue.DThe end user can experience latency or performance lag while waiting for the API call to return.EThe order in which API calls return can be guaranteed.Show AnswerAnswerExplanationAn asynchronous API call does not block the calling code while the operation is in progress, allowing the application to continue processing. The response is typically handled when the operation completes by a callback function or comparable completion handler.Learn moreMDN: Introducing asynchronous JavaScriptMDN: JavaScript execution modelShow comments3Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion