call-back
- noun
- /ˈkɔːlˌbæk/
- Specialized
- Well, my call back function still interprets whatever pointer is passed in as a car **.
Examples
-
In programming, a call-back function is used to execute code after a task completes.
-
Then you can take that ID and you can play the sound and you can, if you want, get a call back for that sound ID when it's done playing.
-
The library provides a simple way to register a call-back that triggers when the download finishes.
-
To handle events in the application, you need to set up a call-back method for when users click the button.
Synonyms
A piece of code or web address a service calls later to send a result
A piece of code you can run to do a task or give a result
Surface Forms
Morphology
call-back = call (semi-transparent) = back + call
The programming sense is a specialized, metaphorical extension of 'call back' (a function that will be called later), so the relation to 'call' + 'back' is present but requires technical knowledge. [Postprocessing: moved 'back' from base_words to prefix]
Etymology
The programming use of call-back also comes from call 'to ask or run' and back 'later', so it helps to imagine giving a small piece of code to another part of a program and that part 'calls' it 'back' when the job is done. That is why a call-back in code is a function set to be run later when an event or process finishes.