hi all,
I hope someone can help to find a solution to the following problem:
I have some complex code that may need data from the server. When I
make a request I get the data asynchronous, so I have to provide a
callback to handle the response. Now all the code that use this
function need a
Daniel,
First thing, With Asynchronous call you should never get the Stack
over flow as Asynchronous calls are running in different thread and
your function retursn back before calls finish.
But i think you have genuine problem of asynchronous call
chains...where writing code become too
Hi Ravi,
thanks for your reply.
You`re right. ts not the async call itself that leads to the
stackoverflow. its because of the callback chain that comes when a
large amount of code depends directly or indirectly on the callback.
supposed i have some simple code like this:
public Value