Skip to content

ApplyUpdateResult

Defined in: sdk/src/asset/Assets.ts:126

Outcome of Assets.applyUpdate — atomic: ok only when every changed asset downloaded + verified and the manifest was swapped. On failure nothing is applied (updated: 0) and failed lists why (rollback).

failed: AssetDownloadFailure[]

Defined in: sdk/src/asset/Assets.ts:129


ok: boolean

Defined in: sdk/src/asset/Assets.ts:127


optional reason?: "nothing-staged"

Defined in: sdk/src/asset/Assets.ts:136

Why nothing was attempted: no update staged (none checked, or another apply took it).


revision: string | null

Defined in: sdk/src/asset/Assets.ts:132

The revision this session runs on afterwards.


stages: UpdateStages

Defined in: sdk/src/asset/Assets.ts:130


uncached: string[]

Defined in: sdk/src/asset/Assets.ts:134

The changed assets the cache refused, by url: what the next launch fetches again.


updated: number

Defined in: sdk/src/asset/Assets.ts:128