1681-engine / updates / heldBundle
Function: heldBundle() ​
ts
function heldBundle<T>(held, bundle): T | null;Defined in: src/updates/pickUpdate.ts:64
A copy of bundle the updater already holds whole (downloaded and checked, applied or waiting), so asking again — a settings screen's check after the login screen's — takes it instead of downloading the same files twice.
Type Parameters ​
| Type Parameter |
|---|
T extends object |
Parameters ​
| Parameter | Type |
|---|---|
held | readonly T[] |
bundle | WebBundle |
Returns ​
T | null