[hydra] return the hydra object when await initHydra(..) is called

This commit is contained in:
jeromew
2025-11-25 10:49:30 +00:00
parent 132a124644
commit ab64451d65
+1
View File
@@ -35,6 +35,7 @@ export async function initHydra(options = {}) {
hydra.synth.s0.init({ src: canvas });
}
}
return hydra;
}
export function clearHydra() {