Skip to content

SpectrogramStatus

type SpectrogramStatus =
| {
error?: undefined;
state: "idle" | "loading" | "rendering" | "ready" | "destroyed";
}
| {
error: Error;
state: "error";
};