Skip to content

Interface: WarmupOptions

Options accepted by BodyBase.warmup.

Properties

onProgress?

ts
optional onProgress?: (info) => void;

Called once when the warmup starts (phase: 'collecting', current: 0), once after each compile phase resolves, and once at the end (phase: 'done', current: total). Synchronous — runs on the main thread between compile resolutions.

Parameters

ParameterType
infoWarmupProgress

Returns

void

Distribué sous la licence indiquée dans le dépôt.