@ably/chat - v0.10.0
    Preparing search index...

    Interface UseRoomParams

    The parameters for the useRoom hook.

    interface UseRoomParams {
        onConnectionStatusChange?: (change: ConnectionStatusChange) => void;
        onStatusChange?: (change: RoomStatusChange) => void;
    }
    Index

    Properties

    onConnectionStatusChange?: (change: ConnectionStatusChange) => void

    Callback for when the connection status changes. The listener is removed when the component unmounts.

    Type declaration

    onStatusChange?: (change: RoomStatusChange) => void

    Callback for when the room status changes. The listener is removed when the component unmounts.

    Type declaration