Questions tagged [asynccallback]

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 convenient time. An asynchronous or deferred callback is invoked after a function returns, or at least on another thread’s stack.

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 convenient time. An asynchronous or deferred callback is invoked after a function returns, or at least on another thread’s stack.

More Info

457 questions
-1
votes
1 answer

how to parse and return the google direction service response?

how can i parse the response from google direction services ? I am calling javascript code from my iOS WebView, i want to return some value from java script to iOS. I can see the response when i use alert function to display, but it not returning…
prabhu
  • 684
  • 11
  • 27
-2
votes
1 answer

What function is passed to cb here?

So I have a small project containing both frontend (html) and backend (express: server, routers) parts. The project isn't that clean, so the its main operationality is launched directly in html section. And not much is clear to me here, especially…
tkirisame
  • 17
  • 1
  • 1
-2
votes
1 answer

javascript promise async and await problem

Third console statement executes before the second one when i request to api to get response the other code start executing and i want to prevent this i'm new to javascript., i tryed async-await but i'm doing something wrong..! app.post('/api',…
-2
votes
1 answer

Why is the callback function not working?

let fn_one = () => { setTimeout(function() { console.log("This is shashank"); }, 5000) } let fn_two = (name, callback) => { setTimeout(function() { console.log("Hi!, " + name); callback(); }, 1000) } fn_two("there",…
-2
votes
3 answers

Callback for 4 asynchronous methods C#

I have 4 asynchronous methods that perform at startup of my application. I need to execute a final line of code, once ALL methods have finished. Because they are all executing asynchronously, how do I create a callback for determining when the last…
Brendan Gooden
  • 1,460
  • 2
  • 21
  • 40
-3
votes
1 answer

simple async with callback request python 3

I'm new in python I'm try to develop app that send about 10,000 request to test my API, i use pyqt5 to and python 3, i want to make many A-sync request using requests , send the many requests and not wait for response but add callback when response…
Fath Bakri
  • 161
  • 1
  • 12
1 2 3
30
31