Function useConnectionState

  • The useConnectionState hook allows you to simply implement your own ConnectionState component.

    Example

    const connectionState = useConnectionState(room);
    

    Parameters

    • Optional room: Room

    Returns ConnectionState

Generated using TypeDoc