Skip to content

@grabm/abm/experiments / Interface: BatchOptions ​

Extended by ​

Properties ​

onProgress? ​

ts
readonly optional onProgress?: (id, progress) => void;

Parameters ​

id ​

string

progress ​

SimulationProgress

Returns ​

void


signal? ​

ts
readonly optional signal?: AbortSignal;

workers? ​

ts
readonly optional workers?: number | "auto";

Defaults to one. Auto leaves one reported CPU free and caps concurrency at four.

Documentation for the grABM library.