Skip to content Skip to sidebar Skip to footer
Showing posts with the label Web Worker

Service Workers Not Updating

I have a service worker installed in my website, everything works fine, except when I push an updat… Read more Service Workers Not Updating

Reliably Detect If The Script Is Executing In A Web Worker

I am currently writing a little library in JavaScript to help me delegate to a web-worker some heav… Read more Reliably Detect If The Script Is Executing In A Web Worker

Parsing Xml In A Web Worker

I have been using a DOMParser object to parse a text string to an XML tree. However it is not avail… Read more Parsing Xml In A Web Worker

Is There A Way To Send Video Data From A Video Tag/mediastream To An Offscreencanvas?

Basically I want to be able to perform effectively this same code: const video = document.getEleme… Read more Is There A Way To Send Video Data From A Video Tag/mediastream To An Offscreencanvas?

Using Transferable Objects From A Web Worker

I currently have this code to create a Web Worker: w = new Worker('webwork.js'); w.onmessag… Read more Using Transferable Objects From A Web Worker

How To Allow Web Workers To Receive New Data While It Still Performing Computation?

I want to sort an array, using Web Workers. But this array might receive new values over time, whil… Read more How To Allow Web Workers To Receive New Data While It Still Performing Computation?

Improve Program Performance

I have a javascript program which executes operations with my JSON data (200Mega) This programm sea… Read more Improve Program Performance

FormData In A Webworker - In Some Browsers - Is This Wrong?

I have been playing with uploading inside a webworker, and found things working in Chrome. However,… Read more FormData In A Webworker - In Some Browsers - Is This Wrong?

How To Allow Web Workers To Receive New Data While It Still Performing Computation?

I want to sort an array, using Web Workers. But this array might receive new values over time, whil… Read more How To Allow Web Workers To Receive New Data While It Still Performing Computation?

Is It Possible To Optimize Two Scripts Using Web Workers?

I'm running two libraries that are dependency aware. What I mean is the order of their executi… Read more Is It Possible To Optimize Two Scripts Using Web Workers?

Posting Three.js Meshes To Web Worker Using Javascript

I have an array on objects, meshes created with Three.js, that I want to do some operations in a we… Read more Posting Three.js Meshes To Web Worker Using Javascript