Skip to content

Function: createLocalStreamCheckBuilder() ​

ts
function createLocalStreamCheckBuilder<THandle>(id, existingState?): LocalStreamCheckBuilder<THandle>;

Defined in: node/src/builders/create-local-stream-check-builder.ts:33

Creates a fluent LocalStreamCheckBuilder for local.streamCheck(id).

Initializes default runner configuration and provides immutable chaining methods for argv, env, timeoutMinutes, circuitBreakWhenStdout, and asTool.

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Parameters ​

ParameterTypeDescription
idstringUnique identifier of the streaming check.
existingState?LocalStreamCheckBuilderStateInternal state for immutable cloning.

Returns ​

LocalStreamCheckBuilder<THandle>

Frozen fluent stream check builder.

Throws ​

If id is empty or whitespace-only.

Released under the MIT License.