DEV Community

Discussion on: 60fps Javascript while you stringify, parse, process, compress and filter 100Mbs of data

calvintwr profile image

I found out that Uint8Array is not a transferrable object, is it?

But ArrayBuffer is. And ImageData has property .data.buffer that is ArrayBuffer, so i have used that to transfer between the main and worker thread: