watchRun beta
Function of @v12-engine/client
ts
export declare function watchRun(id: string, scene?: () => string | undefined): () => void;Says to the editor's Run panel that this page is alive, what it shows and how fast it draws, and closes the page when the panel says so. startApp and launch call it on a page being developed that was opened as a run; a page of its own shell calls it with what it shows. Gives back what stops it