I already know when calling an asynchronous method e.g. myAsync()
, the caller e.g. Caller()
can continue executing without waiting for it to be finished. But on the other hand, myAsync()
also is executing.
public void Caller(){
myAsync();---------------------running
dosometing();------------------running
}
The code next to myAsync()
in Caller()
will execute with myAsync()
at the same time. So could this situation be considered as a kind of concurrency?
update
I prefer use javascript and c#