跳转到内容

BrowserStorageExportCheckpointStore

此内容尚不支持你的语言。

Defined in: checkpoint.ts:48

Durable browser checkpoint store. A new instance with the same namespace resumes committed units after a page reload; callers may inject sessionStorage or a test double instead of localStorage.

new BrowserStorageExportCheckpointStore(options): BrowserStorageExportCheckpointStore

Defined in: checkpoint.ts:52

string

Storage

BrowserStorageExportCheckpointStore

delete(key, signal?): Promise<void>

Defined in: checkpoint.ts:87

string

AbortSignal

Promise<void>

ExportCheckpointStore.delete


load(key, signal?): Promise<ExportCheckpoint | undefined>

Defined in: checkpoint.ts:58

string

AbortSignal

Promise<ExportCheckpoint | undefined>

ExportCheckpointStore.load


save(key, checkpoint, signal?): Promise<void>

Defined in: checkpoint.ts:81

string

ExportCheckpoint

AbortSignal

Promise<void>

ExportCheckpointStore.save