Erfassen Sie Ihre Fortschritte
Trailhead-Startseite
Trailhead-Startseite

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