Callbacks

  • We can replace the critical decision with a function
  • This function parameter is often called a callback
  • The generic function uses it to "call back" and check on how to do its critical decision point

12 / 21