Give every worker what the main thread read from the whole project, ahead of any reference it is sent.
(scans: ProjectScans)
| 310 | |
| 311 | /** Give every worker what the main thread read from the whole project, ahead of any reference it is sent. */ |
| 312 | shareScans(scans: ProjectScans): void { |
| 313 | for (const pw of this.workers) pw.worker.postMessage({ type: 'scans', scans }); |
| 314 | } |
| 315 | |
| 316 | /** Number of workers — how many passes the synthesis fan-out keeps in flight. */ |
| 317 | get size(): number { |