Skip to main content
callback

callback

2 4.6
A piece of code or web address a service calls later to send a result
  • noun
  • /ˈkɔːlˌbæk/
  • Specialized
translation icon : callback
  • Flash programs rely on the same NetStream method used for existing Flash video, with a few new optional callbacks for metadata and encoding types.

So people enjoy that kind of paradigm programming for asynchronous IO relative to callbacks.

Autoplay Next

Examples

  • We use this wrapper to watch ZooKeeper nodes, issuing a callback inside our application whenever a modification happens.

    Blog text (11)
  • You'll get this information through the onMetaData callback in an array with the name 'seekpoints.'

    Blog text (30)
  • I'd appreciate a callback, please.

  • You can use the callback on the slide functions to get the effect you want.

    Blog text (8)
  • So, a typical callback "http:" string looks like this:

    Blog text (20)
  • We expose this in the onMetaData callback as an array of objects with the name 'chapters.'

    Blog text (30)
  • The Ajax callback whenever an item is clicked is slow and cumbersome.

    Blog text (12)
  • The result is usually some kind of event-based callback system; the downside of this is that the callbacks don't get to maintain state between calls.

    Blog text (8)
  • Extremely tightly-scoped functionality just provides REST-persistable models with simple routing and callbacks so you know when to render views (you supply your own view-rendering mechanism).

    Blog text (21)
  • The API provides a callback that developers can utilize to receive data once it is available.

Synonyms

hook
vscallback
  • Texting
5 6.5

A way for one computer system to send a message to another when an event happens

also covers in-code functions and not only external endpoints
call-back
vscallback
  • Specialized
1 5.9

A piece of code given to another function to run later when an action finishes

includes network endpoints and external URLs rather than only in-process functions

Compounds

callback hell
  • Jargon
9.6

A situation where too many nested callbacks make code hard to read and change

How Immediate

callback
  • Specialized
2 4.6
queue
  • Specialized
14 6.0
batch processing
  • Specialized
1 3.9

Surface Forms

callback singular
callbacks plural

Morphology

callback = call (semi-transparent) = back + call

Formed from 'call' + 'back' with a relation to the idea of 'calling back,' but the technical programming sense 'a function invoked later' is domain-specific and may not be derivable by general learners. [Postprocessing: moved 'back' from base_words to prefix]

Etymology

Callback in computing comes from the same parts call + back, meaning 'call' later. Think of leaving your number so someone 'calls you back' — in code a callback is a function or URL a service 'calls' later to deliver a result.