Skip to content

ProcessWaitPidOptions

ProcessWaitPidOptions = object

Defined in: packages/app-system/src/os/process-wait-pid.ts:5

optional pollIntervalMs?: number

Defined in: packages/app-system/src/os/process-wait-pid.ts:14

If specified, the function will poll at the given interval (in milliseconds) to check if the process has terminated after sending the kill signal. Default is 50 ms.


optional signal?: AbortSignal | null

Defined in: packages/app-system/src/os/process-wait-pid.ts:7

An optional AbortSignal that can be used to abort the operation.