ParentMessage
ParentMessage = {
job:ConsumerJob;runId:string;type:"run"; } | {runId:string;type:"cancel"; }
Defined in: packages/core/src/capture/forked/protocol.ts:9
Parent to child. runId names one push of a job; a re-push after a crash gets a new one.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ job: ConsumerJob; runId: string; type: "run"; }
Run this leased job. The child holds the same database, storage and runner configuration.
Type Literal
Section titled “Type Literal”{ runId: string; type: "cancel"; }
The lease is lost or the job was cancelled: stop the render (runner.cancel).