• Compiles and returns all runtime analytics data collected during the session. This includes timing measurements, error records, retry attempts, and custom events. Use this to retrieve a complete snapshot of analytics data for reporting or debugging purposes.

    Returns RuntimeData

    Object containing all collected analytics data including timings, errors, retries, and events

      const analyticsData = compileData()
    console.log(`Recorded ${analyticsData.timings.length} timing events`)
    console.log(`Recorded ${analyticsData.errors.length} errors`)