原文:

Callback (computer programming)

In computer programming, a callback is any executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at a given time. This execution may be immediate as in a synchronous callback, or it might happen at a later time as in an asynchronous callback. In all cases, the intention is to specify a function or subroutine as an entity[clarification needed] that is, depending on the language, more or less similar to a variable.
Programming languages support callbacks in different ways, often implementing them with subroutines, lambda expressions, blocks, or function pointers.

回调函数/Callback(维基百科)


相关文章:

  • 2021-05-30
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-19
  • 2021-10-25
  • 2022-01-02
  • 2021-09-26
  • 2021-11-18
  • 2021-11-18
  • 2021-05-24
相关资源
相似解决方案