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: github.com/calvintwr/blitz-hermite...
✌️👍
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank mate you are awesome!
I found out that
Uint8Array
is not a transferrable object, is it? developer.mozilla.org/en-US/docs/W...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: github.com/calvintwr/blitz-hermite...✌️👍