threads.js icon indicating copy to clipboard operation
threads.js copied to clipboard

SharedArrayBuffer

Open lancety opened this issue 4 years ago • 2 comments

Just want to ask - if it will work to call worker expose method by passing a SharedArrayBuffer instance as first param, without talking about cross browser compatibility issue.

Thanks~

lancety avatar Oct 02 '20 04:10 lancety

Hey @lancety! Sorry, just saw your issue.

Should work, I think. If you go on and try for yourself, it would be great if you shared your findings here 👍

andywer avatar Oct 09 '20 14:10 andywer

[X] I will try very soon. Thanks for confirming.

Update: yes SharedArrayBuffer works, and now available again in browsers :D

lancety avatar Oct 26 '20 19:10 lancety