3 ms·You can use Atomics.wait() to block a non-main thread.by lights0123 5y agoYou can use Atomics.wait() to block a non-main thread.