Talk:callback

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Callbacks in programming are not notifications[edit]

The name is a misnomer. "Call back" in programming means "call this (later)", not "call me when you finish this". More generally, it refers to any function that is passed as an argument to another function. For example, the function Array.prototype.map in JavaScript takes a function as an argument called a callback, whose purpose has nothing to do with notifications. LakeQueen (talk) 15:36, 1 December 2019 (UTC)[reply]