Trevixal API
    Preparing search index...

    Interface AutosaveOptions

    interface AutosaveOptions {
        backups?: false | BackupOptions;
        delayMs?: number;
        key?: string;
        now?: () => number;
        onState?: (state: AutosaveState) => void;
        storage: KeyValueStorage;
    }
    Index
    backups?: false | BackupOptions

    Rolling backups; false disables them.

    delayMs?: number

    Debounce after the last edit before writing (ms).

    key?: string

    Namespace for this document's keys.

    now?: () => number
    onState?: (state: AutosaveState) => void