ChildMessage
ChildMessage = {
runId:string;type:"progress"; } | {runId:string;type:"done"; } | {error:string;runId:string;type:"failed"; }
Defined in: packages/core/src/capture/forked/protocol.ts:16
Child to parent.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ runId: string; type: "progress"; }
The run made progress; the parent renews the job’s lease.
Type Literal
Section titled “Type Literal”{ runId: string; type: "done"; }
The run finished; the parent acknowledges the job.
Type Literal
Section titled “Type Literal”{ error: string; runId: string; type: "failed"; }
The run threw; the parent retries or fails the job by its attempt count.