Callback Function

Noun · Development

Definitions

  1. A function intended to be called by another piece of code after a task completes or an event occurs, often with data about the outcome. The phrase emphasizes that the function itself is the callback rather than the broader pattern of using callbacks.

    In plain English: A function that another part of the program calls later in response to an event or result.

    Example: "The parser accepted a callback function that received each decoded record as soon as it was available from the stream."

Related Terms