client-sdk-js icon indicating copy to clipboard operation
client-sdk-js copied to clipboard

Receive Shutdown Reason in RoomEvent.Disconnected

Open NikoLandgraf opened this issue 9 months ago • 0 comments

Describe the problem

When shutting down the agent via ctx.shutdown(reason=) one can add a shutdown reason.

In the client sdk, I would like to receive this shutdown reason in order to e.g. know whether whether it was a clean shutdown or an error shutdown.

Describe the proposed solution

Return the reason in the RoomEvent.Disconnected event

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

NikoLandgraf avatar Feb 11 '25 15:02 NikoLandgraf