[Dev]: Broadcast Session Updates #151
Labels
requirement
A requirement for the next major release
SquireCore
Affects the SquireCore server
SquireSDK
Affects the SquireSDK library
todo
Will be resolved but work hasn't started
Milestone
Unmet Need:
As mentioned in #149 , we need the ability to broadcast session changes. This includes session expiry, deletion, and promotion.
Solution:
The sessions maintained by the session actor need to contain a broadcast change. This change will communicate updates made to it (i.e. expiry, deletion, and promotion). When someone opens a tournament connection, the session data that it holds needs to contain a subscriber handle to this broadcast channel. The individual tournament actors then need to listen for updates coming from their connected users.
Note that updates to the particulars of a session's token do not need to be communicated.
The text was updated successfully, but these errors were encountered: