-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be nice to have an additional field next to the existing added
, updated
, removed
that contains client ids that were removed and now appear again. Something like resurrected
.
For now, such clients appear either in updated
array (for remote events) or in added
array (for local events).
The motivation for this is that there are cases when you want to react only to changes in the set of clients and not a state of those (eg avatar list). For that, you could check for transaction.added > 0 || transaction.removed > 0
to do some work. But in case of disconnected and then connected again clients you wouldn't notice them as they are included in updated
set.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request