Skip to content

@grabm/abm / Type Alias: WorkerFactory ​

ts
type WorkerFactory = () => Worker;

A newly created browser module worker. The simulation owns its lifetime.

Returns ​

Worker

Documentation for the grABM library.