sentanos / roblox-js

!!!THIS PROJECT IS NO LONGER MAINTAINED!!! Execute ROBLOX website actions in node.js
MIT License
45 stars 45 forks source link

Docs relating to streams #51

Closed Neztore closed 7 years ago

Neztore commented 7 years ago

The documentation relating to involving writable streams is poor. There are no examples of how to set this up, and it appears that each 'chunk' is not the complete JSON despite what some of the documentation says.

sentanos commented 7 years ago

Creating and using streams is not relevant to this project and its official documentation can be found within node's actual documentation here though you will likely not need to access the stream directly. I'm not sure what's unclear about what is pushed to them. It says "Each player is individually written to the stream" and that's exactly what happens. Every player object in the group regardless of page will be sent. There are examples of using it with a writable stream in savePlayers and other files.