Function: createLocalRunnerBuilder()
ts
function createLocalRunnerBuilder(options): LocalRunnerBuilder;Defined in: node/src/builders/create-local-runner-builder.ts:18
Creates a LocalRunnerBuilder for local.runner({ id?, slots, maxDaemons? }).
Validates that slots and maxDaemons are positive integers, defaults id to 'default-runner' and maxDaemons to slots, and freezes both the passive NodeRunnerNode AST and the returned builder wrapper.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | LocalRunnerOptions | Concurrency slot and daemon pool options. |
Returns
Frozen local runner pool builder.
Throws
If id is empty or slots / maxDaemons is not a positive integer.