SquireCore icon indicating copy to clipboard operation
SquireCore copied to clipboard

[Dev]: Broadcast Session Updates

Open TylerBloom opened this issue 2 years ago • 0 comments

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.

TylerBloom avatar Aug 20 '23 19:08 TylerBloom