I have three functions. The calling hierarchy is like this:
function a() {
b();
c();
}
function b() {
d();
}
What I want is to finish b then continue doing c. But d is asynchronous. I don't have rights to change anything in b and d. Is there any way to handle this case? Sorry for my English.