News for hackers. Stuff that matters.
Re:You might want async in your project by charcircuit on Saturday September 09, 2023 @04:14PM (#37449823)
That is an implementation detail on where you put the code that is blocking or running concurrently from the main code. As executor could use a separate OS thread, or the application could itself schedule application levels threads onto a number of OS threads.

When writing a Future that will block for 5 seconds you will need to find somewhere to that you can put the code to block for 5 seconds.

There are no comments on this comment yet.