About 287,000 results
Open links in new tab
  1. Callback (computer programming) - Wikipedia

    In computer programming, a callback is programming pattern in which a function reference is passed from one context (consumer) to another (provider) such that the provider can call the …

  2. JavaScript Callbacks - W3Schools

    A callback is a function passed as an argument to another function. This technique allows a function to call another function. A callback function can run after another function has …

  3. JavaScript Callbacks - GeeksforGeeks

    Aug 2, 2025 · How Do Callbacks Work in JavaScript? JavaScript executes code line by line (synchronously), but sometimes we need to delay execution or wait for a task to complete …

  4. Callback function - Glossary | MDN

    Aug 19, 2025 · Synchronous callbacks are called immediately after the invocation of the outer function, with no intervening asynchronous tasks, while asynchronous callbacks are called at …

  5. language agnostic - What is a callback function? - Stack Overflow

    May 5, 2009 · In programming words, a function leaves a reference of itself to another piece of code, e.g. by registering, and the other code uses this reference to call the (callback) function …

  6. What Are Callback Functions? | Baeldung on Computer Science

    Mar 18, 2024 · Using callbacks, the training function can add functionality to high-level API training procedures. This allows us to incorporate features such as advanced logging, model …

  7. A Guide to Callback Functions in JavaScript - Built In

    Nov 20, 2024 · Callback functions are functions that are called after the first function completes its task. They are often used to handle asynchronous events and make your code more readable. …

  8. What is a callback, anyway? - Code Fellows

    May 10, 2014 · In computer programming, a callback is a piece of executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at some …

  9. Introduction: callbacks - The Modern JavaScript Tutorial

    Jun 18, 2022 · To demonstrate the use of callbacks, promises and other abstract concepts, we’ll be using some browser methods: specifically, loading scripts and performing simple document …

  10. JavaScript Callbacks - Codecademy

    Jul 22, 2021 · Callbacks are often used in asynchronous operations like fetching data from an API or listening for a DOM Event, where users don’t want to block the main thread while waiting for …