About 19,800,000 results
Open links in new tab
  1. What is a callback function? - Stack Overflow

    May 5, 2009 · A callback function, also known as a higher-order function, is a function that is passed to another function as a parameter, and the callback function is called (or executed) inside the parent …

  2. How to explain callbacks in plain english? How are they different from ...

    Mar 7, 2012 · 99 How to explain callbacks in plain English? In plain English, a callback function is like a Worker who "calls back" to his Manager when he has completed a Task. How are they different from …

  3. What is a "callback" in C and how are they implemented?

    Sep 27, 2008 · A callback in C is a function that is provided to another function to "call back to" at some point when the other function is doing its task. There are two ways that a callback is used: …

  4. JavaScript: Passing parameters to a callback function

    In the snippet above, the setTimeout function takes 2 arguments, the callback function and a minimum time in ms for the function to be called, so when passing the callback function we're going to use bind …

  5. c# - What is a callback? - Stack Overflow

    Jan 26, 2010 · A callback can be implemented as a delegate to a method, but you could equally say that passing an object that supports a callback method on its interface is a callback.

  6. definition - What is a callback? - Stack Overflow

    Dec 27, 2009 · A callback is the building block of asynchronous processing. Think of it this way: when you call someone and they don't answer, you leave a message and your phone number. Later on, …

  7. What is a callback? What is it for and how is it implemented in for ...

    Jul 21, 2011 · A callback is a hook into the code that is executing to allow you to provide customised features at known points in the process. It allows for generalised control structures to perform …

  8. How to use `setState` callback on react hooks - Stack Overflow

    May 22, 2019 · If you want the setState callback to be executed with the hooks then use flag variable and give IF ELSE OR IF block inside useEffect so that when that conditions are satisfied then only …

  9. How can I write a simple callback function? [duplicate]

    The following code defines a class CallBack that has two callback methods (functions) my_callback_sum and my_callback_multiply. The callback methods are fed into the method foo.

  10. What is a callback in java - Stack Overflow

    Jan 5, 2012 · Possible Duplicate: What is a callback function? I have read the wikipedia definition of a callback but I still didn't get it. Can anyone explain me what a callback is, especially the following line …