Skip to main content

Interface: PersistenceAutosaveOptions

Defined in: packages/media-session/src/persistence.ts:176

See PersistenceOptions.autosave.

Properties

intervalMs?

optional intervalMs?: number;

Defined in: packages/media-session/src/persistence.ts:184

How long after the last write to checkpoint again, in milliseconds.

Default

DEFAULT_AUTOSAVE_INTERVAL_MS

Throws

invalidArgument for a non-finite value or one below MIN_AUTOSAVE_INTERVAL_MS.