Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-4686 add new client event for updating session info #2462

Conversation

yagudin10
Copy link
Member

No description provided.

@@ -135,6 +137,26 @@ export class SessionEventSource implements IServerEventEmitter<ISessionEvent, IS

disconnect() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://rxjs.dev/api/webSocket/webSocket - the rxjs websocket is tried to reconnect cause there was some subscriptions

webapp/packages/core-root/src/SessionEventSource.ts Outdated Show resolved Hide resolved
webapp/packages/core-root/src/SessionEventSource.ts Outdated Show resolved Hide resolved
webapp/packages/core-root/src/SessionResource.ts Outdated Show resolved Hide resolved
@sergeyteleshev sergeyteleshev requested a review from Wroud March 19, 2024 10:54
s.teleshev and others added 2 commits March 19, 2024 11:59
@yagudin10 yagudin10 marked this pull request as ready for review March 19, 2024 12:55

const sessionState: SessionState = {
...this.data,
valid: event?.isValid ?? this.data?.valid,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like this.data is defined here

@sergeyteleshev sergeyteleshev requested a review from Wroud March 19, 2024 15:54
@alexander-skoblikov alexander-skoblikov merged commit ad37e89 into devel Mar 27, 2024
4 of 5 checks passed
@yagudin10 yagudin10 deleted the CB-4686-migrate-from-scheduled-touch-session-api-call-to-a-websocket-event branch April 18, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants