Appearance
@grabm/abm/experiments / Interface: BrowserBatchOptions
Extends
Properties
createWorker?
ts
readonly optional createWorker?: WorkerFactory;Optional bundler-specific factory; each returned worker is owned by grABM.
onProgress?
ts
readonly optional onProgress?: (id, progress) => void;Parameters
id
string
progress
SimulationProgress
Returns
void
Inherited from
signal?
ts
readonly optional signal?: AbortSignal;Inherited from
workers?
ts
readonly optional workers?: number | "auto";Defaults to one. Auto leaves one reported CPU free and caps concurrency at four.