callbackreference
nounUK /ˈkɔːlbæk ˈrɛfrəns/
US /ˈkɔlˌbæk ˈrɛfrəns/
A callback reference is a way for a computer to remember which piece of code to run later.
The button stores a callback reference so it knows what to do when you click it.
RELATED WORDS
OTHER MEANINGS
2. In programming, a value that points to a function to be called when something happens.
Pass a callback reference to the timer so it runs your code after one second.
3. A saved link to a routine that can be invoked later by another part of the program.
The library keeps a callback reference and calls it when the download finishes.
4. A way to hand off work by giving another function a reference to call back.
Instead of waiting, the app registers a callback reference and continues running.