Skip to content

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 ​

ParameterType
heldreadonly T[]
bundleWebBundle

Returns ​

T | null

Released under the MIT License.