How to execute a function with a web worker on a different thread in Angular Blog

added by JavaScript Kicks
11/24/2019 12:36:50 PM

603 Views

With web workers, we are able to execute a script in a background thread and leave the main thread free for UI work. By default, Web Workers accept the file URL as an argument, but in our case, that is not acceptable because we are using TypeScript as the main language and we don't want to mix it with JavaScript.


0 comments