You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a doubt, I looked at your code, you use Futrue.join () method inside the Aysnc.await method to achieve the wait result returned, so there is no thread scheduling, how can we call it async/ Await?
The text was updated successfully, but these errors were encountered:
That join is only present when the code has not been instrumented. This is so the code still "works" if you are running in a scenario where you can't instrument, but a warning will also be printed.
When the code gets instrumented by one of the methods described in the README all calls to Async.await are removed.
You can prove this by only including the async library during compilation but not at runtime and using the maven plugin. At runtime there will be no references to Async.await left.
EA Async does not deal with threading at all, but instead leaves that to the application. Continuations are scheduled on the thread that completed the last step.
I have a doubt, I looked at your code, you use Futrue.join () method inside the Aysnc.await method to achieve the wait result returned, so there is no thread scheduling, how can we call it async/ Await?
The text was updated successfully, but these errors were encountered: