rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
18 lines (10 loc) • 560 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [IWorkerPool](./rc-js-util.iworkerpool.md) > [setBatchEnd](./rc-js-util.iworkerpool.setbatchend.md)
## IWorkerPool.setBatchEnd() method
After adding jobs, you can mark the last job on each worker to track when they have all be completed using [IWorkerPool.isBatchDone()](./rc-js-util.iworkerpool.isbatchdone.md)<!-- -->.
**Signature:**
```typescript
setBatchEnd(): void;
```
**Returns:**
void