Skip to content

ChildProcessHandle

Defined in: packages/core/src/capture/forked/channel.ts:5

How the parent sees the capture child (child_process.fork adapts to this).

kill(force?): void

Defined in: packages/core/src/capture/forked/channel.ts:11

Stop the child: SIGTERM, escalating to SIGKILL; force goes straight to SIGKILL (a hung child ignores SIGTERM).

boolean

void


onExit(listener): void

Defined in: packages/core/src/capture/forked/channel.ts:9

Fires once when the child ends; code is null when it was killed by a signal.

(info) => void

void


onMessage(listener): void

Defined in: packages/core/src/capture/forked/channel.ts:7

(message) => void

void


send(message): void

Defined in: packages/core/src/capture/forked/channel.ts:6

ParentMessage

void