forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client-presence): System Workspace (microsoft#22670)
1. Add infrastructure for custom System Workspace to handle internal states including ClientConnectionId to ClientSessionId. 2. Move audience support to System Workspace 3. Add `attendeeJoined` implementation 4. Add test coverage for new attendee's joining and consistency of lookup. New test cases: ``` PresenceManager ✔ throws when unknown attendee is requested via `getAttendee` when connected attendee ✔ is announced via `attendeeJoined` when new already known ✔ is available from `getAttendee` by connection id ✔ is available from `getAttendee` by session id ✔ is available from `getAttendees` ✔ is NOT announced when rejoined with same connection (duplicate signal) ✔ is NOT announced when rejoined with different connection and current information is updated ``` 5. Update general update protocol to always include client connection id -> current session id entry to ensure all updates are always working with known (already registered) session id even if a prior join or broadcast were missed.
- Loading branch information
Showing
6 changed files
with
546 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.