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.
Return a shorter recording that keeps the first
untilevents (clamped to[0, events.length]). Use to shrink a recording to its minimal reproducer oncereplay(..., { until: N })has located the failing event.The result is a fresh recording; the input is not modified.