• Subscribe to profile changes (display name, avatar) of users in the room.

    Parameters

    • fn: ((user) => void)

      Handler that receives the updated user.

        • (user): void
        • Parameters

          Returns void

    Returns Unsubscribe

    A function that cancels the subscription. Call it on teardown.