ApplyUpdateResult
Defined in: asset/Assets.ts:117
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).
Properties
Section titled “Properties”failed
Section titled “failed”failed:
AssetDownloadFailure[]
Defined in: asset/Assets.ts:120
ok:
boolean
Defined in: asset/Assets.ts:118
reason?
Section titled “reason?”
optionalreason?:"nothing-staged"
Defined in: asset/Assets.ts:127
Why nothing was attempted: no update staged (none checked, or another apply took it).
revision
Section titled “revision”revision:
string|null
Defined in: asset/Assets.ts:123
The revision this session runs on afterwards.
stages
Section titled “stages”stages:
UpdateStages
Defined in: asset/Assets.ts:121
uncached
Section titled “uncached”uncached:
string[]
Defined in: asset/Assets.ts:125
The changed assets the cache refused, by url: what the next launch fetches again.
updated
Section titled “updated”updated:
number
Defined in: asset/Assets.ts:119