IndexedDbResumableMuxedExportStore
Defined in: resumable-muxed-export.ts:171
IndexedDB-backed binary checkpoint store. Unit bytes and their prefix manifest advance in the same read/write transaction, so a reload observes either the previous committed prefix or the complete next unit.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new IndexedDbResumableMuxedExportStore(
options):IndexedDbResumableMuxedExportStore
Defined in: resumable-muxed-export.ts:176
Parameters
Section titled “Parameters”options
Section titled “options”databaseName?
Section titled “databaseName?”string
namespace?
Section titled “namespace?”string
Returns
Section titled “Returns”IndexedDbResumableMuxedExportStore
Methods
Section titled “Methods”commitUnit()
Section titled “commitUnit()”commitUnit(
key,unit,manifest,signal?):Promise<void>
Defined in: resumable-muxed-export.ts:224
Commits unit bytes and the advanced manifest in one durable transaction.
Parameters
Section titled “Parameters”string
manifest
Section titled “manifest”signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”ResumableMuxedExportStore.commitUnit
delete()
Section titled “delete()”delete(
key,signal?):Promise<void>
Defined in: resumable-muxed-export.ts:247
Parameters
Section titled “Parameters”string
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”ResumableMuxedExportStore.delete
loadManifest()
Section titled “loadManifest()”loadManifest(
key,signal?):Promise<ResumableMuxedExportManifest|undefined>
Defined in: resumable-muxed-export.ts:183
Parameters
Section titled “Parameters”string
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<ResumableMuxedExportManifest | undefined>
Implementation of
Section titled “Implementation of”ResumableMuxedExportStore.loadManifest
loadUnit()
Section titled “loadUnit()”loadUnit(
key,index,signal?):Promise<ResumableMuxedExportUnit|undefined>
Defined in: resumable-muxed-export.ts:200
Parameters
Section titled “Parameters”string
number
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<ResumableMuxedExportUnit | undefined>