Skip to main content

replayData

Helpers for dealing with recordings..

// access like this
import {Utils} from "liqvid";
const {concat} = Utils.replayData;

// or like this
import {concat} from "@liqvid/utils/replay-data";

concat()

Concatenate several ReplayData together, with delays.

concat<T>(...args: [ReplayData<T>, number][]): ReplayData<T>;

length()

Get the total duration of replay data.

  length<T>(data: ReplayData<T>): number;