0xgeert / flux-test

2 stars 0 forks source link

removeMulti and updateMulti should send socket message to update clients #34

Closed 0xgeert closed 10 years ago

0xgeert commented 10 years ago

Just a bunch of removes and updates instead?

0xgeert commented 10 years ago

best would be to send a specific message encoding every changed/deleted obj in the payload. This howerver requires #30

0xgeert commented 10 years ago

Bundling isn't possible since sails sends an update for each model instance (room) . There's no way around that. Instead, we might want to bundle actions on the clientside by waiting a fraction of a second when a message is received to check if another message . (see #37)

WONT FIX.