What is a callback function?

前端 未结 21 2458
耶瑟儿~
耶瑟儿~ 2020-11-21 23:01

What is a callback function?

21条回答
  •  遥遥无期
    2020-11-21 23:41

    The Callback page on Wikipedia explains it very well:

    In computer programming, a callback is a reference to executable code, or a piece of executable code, that is passed as an argument to other code. This allows a lower-level software layer to call a subroutine (or function) defined in a higher-level layer.

提交回复
热议问题