News for hackers. Stuff that matters.
Re:TeaVM: Build Fast, Modern Web Apps in Java by shannah78 on Monday February 01, 2021 @07:36AM (#25988089)
To use "blocking" code you must be running in a Java thread. You cannot "block" the main javascript thread. Generally all of our code runs on a Java thread. For JS events (which always occur on the main JS thread, I just wrap in new Thread(()->{...}).start();

There are no comments on this comment yet.