Skip to content

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.

{ job: ConsumerJob; runId: string; type: "run"; }

Run this leased job. The child holds the same database, storage and runner configuration.


{ runId: string; type: "cancel"; }

The lease is lost or the job was cancelled: stop the render (runner.cancel).