<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [WorkerPool](./rc-js-util.workerpool.md) &gt; [createRoundRobin](./rc-js-util.workerpool.createroundrobin.md)

## WorkerPool.createRoundRobin() method

**Signature:**

```typescript
static createRoundRobin(wrapper: IEmscriptenWrapper<IWorkerPoolBindings>, config: IWorkerPoolConfig, bindToReference: IManagedResourceNode | null, allocationFailThrows: boolean): WorkerPool | null;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

wrapper


</td><td>

[IEmscriptenWrapper](./rc-js-util.iemscriptenwrapper.md)<!-- -->&lt;[IWorkerPoolBindings](./rc-js-util.iworkerpoolbindings.md)<!-- -->&gt;


</td><td>


</td></tr>
<tr><td>

config


</td><td>

[IWorkerPoolConfig](./rc-js-util.iworkerpoolconfig.md)


</td><td>


</td></tr>
<tr><td>

bindToReference


</td><td>

[IManagedResourceNode](./rc-js-util.imanagedresourcenode.md) \| null


</td><td>


</td></tr>
<tr><td>

allocationFailThrows


</td><td>

boolean


</td><td>


</td></tr>
</tbody></table>
**Returns:**

[WorkerPool](./rc-js-util.workerpool.md) \| null

