I have an image that I need to read from a URL.
However, I want to make it so that this can be interrupted anytime I want, even if it's in the middle of reading an image, for performance reasons.
I am using ImageIO.read(), which seems to be a blocking operation.
Is there any solution that can fix this problem?
thank you :)