How to explain callbacks in plain english? How are they different from calling one function from another function?

后端 未结 30 1924
时光说笑
时光说笑 2020-11-22 11:13

How to explain callbacks in plain English? How are they different from calling one function from another function taking some context from the calling function? How can thei

30条回答
  •  萌比男神i
    2020-11-22 11:32

    [edited]when we have two functions say functionA and functionB,if functionA depends on functionB.

    then we call functionB as a callback function.this is widely used in Spring framework.

    callback function wikipedia example

提交回复
热议问题