<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [IWorkerPool](./rc-js-util.iworkerpool.md) &gt; [invalidateBatch](./rc-js-util.iworkerpool.invalidatebatch.md)

## IWorkerPool.invalidateBatch() method

Cancel any outstanding jobs, does not kill the current job (which must complete first).

**Signature:**

```typescript
invalidateBatch(): void;
```
**Returns:**

void

