
Partytown with Adam Bradley - JSJ 550
JavaScript Jabber
00:00
The Biggest Trick Is Syncroneus X H R Request
In a web worker, we need to act as no matter what we do, it's going to have to be an asyncrnos request to a different thread. And so really there's two ways that we can do that, and that's through, one, through atomics, and w can talk about that later. The other way is o label, more as a trick. Is the service worker, a syncronus x h r request that we use. You should never use syncrons x h request, because that's cang a lock up here users a browser. Its being deprecated, if not already removed from the man from the man aps.
Transcript
Play full episode