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

    Programming languages support callbacks in different ways such as function pointers, lambda expressions and blocks. A callback can be likened to leaving instructions with a tailor for what …

  2. JavaScript Callbacks - W3Schools

    Now it is time to bring in a callback. A callback is a function passed as an argument to another function. Using a callback, you could call the calculator function (myCalculator) with a callback …

  3. Callback function - Glossary | MDN - MDN Web Docs

    Oct 7, 2024 · Synchronous callbacks are called immediately after the invocation of the outer function, with no intervening asynchronous tasks, while asynchronous callbacks are called at …

  4. 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 …

  5. JavaScript Callbacks - GeeksforGeeks

    Jun 5, 2025 · In JavaScript, callbacks play an essential role in handling asynchronous tasks like reading files, making API requests, and executing code after certain events. If you’ve ever …

  6. Layman’s Coding: What is a callback? | by Cortney Thomas

    Oct 18, 2018 · Callbacks are no different. Just like a string or number, you can pass a function (known as a callback) as an argument.

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

    Mar 18, 2024 · What’s more, callbacks can come in handy when training neural networks. Using callbacks, the training function can add functionality to high-level API training procedures. This …

  8. JavaScript Callback Functions – What are Callbacks in JS and How …

    Mar 17, 2020 · Callbacks make sure that a function is not going to run before a task is completed but will run right after the task has completed. It helps us develop asynchronous JavaScript …

  9. Introduction: callbacks - The Modern JavaScript Tutorial

    Jun 18, 2022 · Introduction: callbacks We use browser methods in examples here To demonstrate the use of callbacks, promises and other abstract concepts, we’ll be using some browser …

  10. What is a callback in JavaScript? (With simple examples)

    If you've read anything beyond very simple code, there's a strong chance it used callbacks. So, what are they? In JavaScript, a callback is a function that isn't immediately executed, but is …

  11. Some results have been removed