Asynchronous Tasks

  • Synchronous tasks require focus
  • Asynchronous tasks have idle time
SynchronousAsynchronous
Human
  • Writing
  • Drawing
  • Talking
  • Texting
  • Doing Laundry
  • Cooking
Computer
  • Doing math
  • Re-rendering a web page
  • "Plain" JavaScript functions
  • Waiting on a timer
  • Making a network request
  • Responding to events

16 / 27