The worker's grammar load is over: it reported ready, errored or exited.
(w: ParsePoolWorker)
| 411 | |
| 412 | /** The worker's grammar load is over: it reported ready, errored or exited. */ |
| 413 | private loadSettled(w: ParsePoolWorker): void { |
| 414 | const load = this.loads.get(w); |
| 415 | if (!load) return; |
| 416 | this.loads.delete(w); |
| 417 | load.settle(); |
| 418 | } |
| 419 | |
| 420 | /** |
| 421 | * Terminate a worker, but not while it is still loading grammars: wait for |