Top "Asynchronous" questions

Asynchronous programming is a strategy for deferring operations with high latency or low priority, usually in an attempt to improve performance, responsiveness, and / or composability of software.

How do I return the response from an asynchronous call?

I have a function foo which makes an asynchronous request. How can I return the response/result from foo? I …

javascript jquery ajax asynchronous
How can I upload files asynchronously?

I would like to upload a file asynchronously with jQuery. Instead of the file being uploaded, I am only getting …

javascript jquery ajax asynchronous xmlhttprequest
Asynchronous vs synchronous execution, what does it really mean?

What is the difference between asynchronous and synchronous execution?

asynchronous execution synchronous
How and when to use ‘async’ and ‘await’

From my understanding one of the main things that async and await do is to make code easy to write …

c# .net asynchronous async-await
How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?

I have a JavaScript widget which provides standard extension points. One of them is the beforecreate function. It should return …

javascript jquery ajax asynchronous
How to check internet access on Android? InetAddress never times out

I got a AsyncTask that is supposed to check the network access to a host name. But the doInBackground() is …

android networking asynchronous
How would I run an async Task<T> method synchronously?

I'm learning about async/await, and ran into a situation where I need to call an async method synchronously. How …

c# asynchronous c#-5.0 async-await
How to return value from an asynchronous callback function?

This question is asked many times in SO. But still I can't get stuff. I want to get some value …

javascript asynchronous callback javascript-objects
async/await - when to return a Task vs void?

Under what scenarios would one want to use public async Task AsyncMethod(int num) instead of public async void AsyncMethod(…

c# asynchronous .net-4.5
How to wait for async method to complete?

I'm writing a WinForms application that transfers data to a USB HID class device. My application uses the excellent Generic …

c# asynchronous async-await