A DESCRIPTION OF THE PROBLEM :
Javascript has an excellent feature for dealing with asynchronous programming: async/await. Calling some method with "await" makes the current operation to go on pause until the called method is resolved asynchronously, returning the execution later when the result value is resolved.
Now with virtual threads in Java that sounds more feasible than ever so that we can write asynchronous code in a synchronous way, making it easier to code and more readable/understandable than piping commands in a reactive way or with java Futures.
Javascript has an excellent feature for dealing with asynchronous programming: async/await. Calling some method with "await" makes the current operation to go on pause until the called method is resolved asynchronously, returning the execution later when the result value is resolved.
Now with virtual threads in Java that sounds more feasible than ever so that we can write asynchronous code in a synchronous way, making it easier to code and more readable/understandable than piping commands in a reactive way or with java Futures.