News for hackers. Stuff that matters.
Re:You might want async in your project by Matthias247 on Monday September 11, 2023 @09:53PM (#37476167)
The last comment is actually pretty interesting and spot on. In the Java/JDK world - which you can assume as a „framework“ - you can cancel blocking IO via the Thread.interrupt() mechanism. And that works because it’s deeply integrated into the framework, similar like async Rust runtimes provide support for cancellation.

There are no comments on this comment yet.