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

add websocket onClose callback #209

Closed
wants to merge 1 commit into from
Closed

Conversation

mhiaror
Copy link
Collaborator

@mhiaror mhiaror commented Jan 31, 2024

Issue #, if available:
add websocket onClose callback

Description of changes:
Currently, when websocket connection is closed, onClose is called but is not exposed from ChatJs.
We only expose onConnectionLost which is fired if both primary and secondary websocket connection has been closed.

Customer also wants to listed to onClose event so they can immidiately start polling for getTranscript.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mhiaror mhiaror requested a review from a team as a code owner January 31, 2024 00:01
@mhiaror mhiaror requested review from doreechi and mrajatttt and removed request for a team January 31, 2024 00:01
@mhiaror mhiaror closed this Feb 2, 2024
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.

1 participant