1)wat is the use of asynchronous methods?
2)when we use this methods?
3)how to know the asynchronous methods are invoke?
1)wat is the use of asynchronous methods?
2)when we use this methods?
3)how to know the asynchronous methods are invoke?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Matthew CochranRank #252 · 10K reputationPosted Apr 17, 2008, 3:20 PM EDT
Async calls are used to process a request on a worker thread from the thread pool. They can be used for two reasons (1) to make the user experience better in a windows by making a lower priority thread do some data processing in the background while the main ui thread can be responsive to the user (2) to avoid blocking a thread while doing a compute bound i/o task like reading from a file, writing to a database, or calling a web service.
It depends on what you are trying to accomplish. Using async calls automatically throws you in the multi-threading arena which can get really complicated really fast and should not be done unless you have a really good reason.
I hope this helps
-Matt