2546961Plate mechanics lab: Kirchhoff-Love plates solved by numbl in the browserJeremy Magland 1import type { SourceBundle } from "../generate/bundle";
2import type { PlainValue } from "./plain";
3import type { BackendInfo, RunResult } from "./types";
5export type ToWorker =
6 | { type: "run"; id: number; bundle: SourceBundle; inputs?: Record<string, PlainValue> }
7 | { type: "info"; id: number };
9export type FromWorker =
10 | { type: "output"; id: number; text: string }
11 | { type: "done"; id: number; result: RunResult }
12 | { type: "info"; id: number; backend: BackendInfo };