gameplate - v2.2.0
    Preparing search index...

    Function truncateRecording

    • Return a shorter recording that keeps the first until events (clamped to [0, events.length]). Use to shrink a recording to its minimal reproducer once replay(..., { until: N }) has located the failing event.

      The result is a fresh recording; the input is not modified.

      Type Parameters

      • S

      Parameters

      Returns Recording<S>