We need a function (ideally, in the System class so that we don't have to rewrite it for all systems) that takes all of a systems data and sends it over SocketIO. In order for this issue to be worked on, pull request #32 needs to be approved first.
Here's some basic pseudocode:
class System {
...
updateAll(){
for all keys in this.callbacks{
socketio.emit(this.name+"."+key)
}
}
We need a function (ideally, in the System class so that we don't have to rewrite it for all systems) that takes all of a systems data and sends it over SocketIO. In order for this issue to be worked on, pull request #32 needs to be approved first.
Here's some basic pseudocode: