Skip to content

createReplays beta ​

Function of @v12-engine/client

ts
export declare function createReplays(options: {
    play: (what: {
        id: string;
    } | {
        replay: Replay;
    }) => void;
    storage?: KeptStorage;
}): ReplaysController;

The replays this browser kept (see ReplaysController). play opens one: by its id, or as it was read from a file