Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

394 B
Raw Blame
/* Copyright 2026 Marimo. All rights reserved. */
import { atom } from "jotai";

/** Tagged so the progress label and error message can't drift apart. */
export type WasmInitState =
  | { kind: "loading"; message: string }
  | { kind: "ready" }
  | { kind: "error"; message: string };

export const wasmInitStateAtom = atom<WasmInitState>({
  kind: "loading",
  message: "Initializing...",
});