Skip to main content
Join the Agentforce Hackathon on Nov. 18-19 to compete for a $20,000 Grand Prize. Sign up now. Terms apply.

Explore Asynchronous Programming

Learning Objectives

After completing this unit, you’ll be able to:

  • Apply asynchronous programming concepts, given a scenario.
  • Use event loop and event monitor or determine loop outcomes, given a scenario.

Key Topics

This unit prepares you for the Asynchronous Programming section of the Salesforce JavaScript Developer I multiple-choice exam, which makes up 13% of the overall exam. This section of the exam tests these topics.

  • Callbacks
  • Promises
  • Failures
  • Asynchronous functions

Like the previous unit, this unit contains practice scenario-based questions and flashcards.

Exam Practice Questions

Ready to jump in? The sample tool below is not scored—it’s just an easy way to quiz yourself. To use it, read the scenario, then click the answer you think is correct. Some questions may have more than one correct answer. Click Submit to learn whether the answer you chose is correct or incorrect, and why; if there’s a longer explanation, click Expand button and then click anywhere in the window to close it. When you reach the end, you can review the answers or retake the questions.

Did you get a scenario wrong? Check out the table below for related study material.

Scenario 1
Study up on promise options by reading through MDN web docs: Promise.
Scenario 2
Review async functions in the MDN web docs: async function docs.

Exam Topic Flashcards

The following flashcards cover Asynchronous Programming. Use these interactive flashcards to brush up on some of the key topics you'll find on this part of the exam.

Read the question or term on each card, then click or tap the card to reveal the correct answer. Click the right-facing arrow to move to the next card, and the left-facing arrow to return to the previous card.

Did you get a flashcard wrong? Check out the table below for related study material.

Flashcard 1
Understand promise returned values by studying JavaScript.info: Promise.
Flashcard 2
Learn how to use async and await keywords by reviewing the JavaScript.info: Async/await docs.

Looking for more information? Explore these related badges.

Badge
Content Type
JavaScript Skills for Salesforce Developers badge. JavaScript Skills for Salesforce Developers
Module
Modern JavaScript Development badge. Modern JavaScript Development
Module

Congratulations! You’ve studied up on asynchronous programming techniques. Next, let’s take a look at server-side JavaScript.

Resources

Salesforce 도움말에서 Trailhead 피드백을 공유하세요.

Trailhead에 관한 여러분의 의견에 귀 기울이겠습니다. 이제 Salesforce 도움말 사이트에서 언제든지 새로운 피드백 양식을 작성할 수 있습니다.

자세히 알아보기 의견 공유하기