3 ms·
My understanding is: Have a web workers continuously increase a number, and save it to the SharedArrayBuffer. As long as the web worker is running, you have a s
by Laremere 9y ago
My understanding is:
Have a web workers continuously increase a number, and save it to the SharedArrayBuffer.
As long as the web worker is running, you have a steadily (enough) increasing timer that can be accessed by any other thread. It's not as precise, so relying on it makes things harder, but still usable.