starboard-python
Version:
Python cells for Starboard Notebook
12 lines (10 loc) • 338 B
text/typescript
export type PyodideWorkerOptions = {
artifactsUrl?: string;
globalThisId?: string;
drawCanvasId?: string;
isMainThread?: boolean;
};
export type PyodideWorkerResult = {
display?: "default" | "html" | "latex";
value: any; // TODO: Normal objects can be normal objects, python proxies might need a bit of comlink
};