<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [IWorkerPoolConfig](./rc-js-util.iworkerpoolconfig.md)

## IWorkerPoolConfig interface

Configuration for a [IWorkerPool](./rc-js-util.iworkerpool.md)<!-- -->.

**Signature:**

```typescript
export interface IWorkerPoolConfig 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[overflowMode?](./rc-js-util.iworkerpoolconfig.overflowmode.md)


</td><td>

`readonly`


</td><td>

[EWorkerPoolOverflowMode](./rc-js-util.eworkerpooloverflowmode.md)


</td><td>

_(Optional)_


</td></tr>
<tr><td>

[queueSize](./rc-js-util.iworkerpoolconfig.queuesize.md)


</td><td>

`readonly`


</td><td>

number


</td><td>

The number of jobs each thread can buffer. Tune this in conjunction with the distribution strategy, \# of workers and queue size to meet your needs.


</td></tr>
<tr><td>

[workerCount](./rc-js-util.iworkerpoolconfig.workercount.md)


</td><td>

`readonly`


</td><td>

number


</td><td>

The number of threads in the pool.


</td></tr>
</tbody></table>
