socket.io-client
socket.io-client copied to clipboard
Optionally store binary data in SharedArrayBuffers
- [x ] request a feature
We are using socket.io-client from a web worker to handle large datasets without slowing down the UI thread. It would be ideal in this kind of situation if socket.io-client could optionally store binary array data using SharedArrayBuffers as the backing buffer rather than the typical ArrayBuffer. This would enable zero-copy sharing of data between the UI and workers, which really opens up a new class of applications.
If you can point me to the source of socket.io-client where these buffers are allocated I'd be happy to do the work and submit a pull request.
Thanks for the library!