programming languages - What does this explanation of callback mean? -




i saw sentence programming language pragmatics, scott

the programmer wants handler—a special subroutine—to invoked when given event occurs. handlers known callback functions, because run-time system calls main program instead of being called it.

i don't quite understand explanation of reason of event handlers named "callback".

what 2 cases mean:

  • "the run-time system calls main program"
  • "being called it", i.e. run-time system called main program?

thanks.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

python - Read npy file directly from S3 StreamingBody -