Skip to main content
Version: Next

Process.waitForLineOutput() method

Signature:

class Process {
waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;
}

Parameters

Parameter

Type

Description

regex

RegExp

timeout

number

(Optional)

Returns:

Promise<string>