RunMessage beta
TypeAlias of @v12-engine/client
ts
export type RunMessage = {
kind: 'beat';
id: string;
scene?: string;
fps: number;
hidden: boolean;
} | {
kind: 'gone';
id: string;
} | {
kind: 'close';
id: string;
};What a page opened from the editor and its Run panel say to each other: beat, each second, from the page; gone, as it leaves; close, from the panel, for the page of that id