Files
workinf_Blender_Wasm/web/protocol/progress.ts
2026-08-12 04:47:48 -04:00

12 lines
277 B
TypeScript

export type ProgressPhase = "started" | "progress" | "completed" | "failed" | "cancelled";
export interface ProgressEvent {
requestId: string;
operation: string;
phase: ProgressPhase;
fraction?: number;
message?: string;
revision?: number;
errorCode?: string;
}