[hydra] return the hydra object when await initHydra(..) is called
This commit is contained in:
parent
132a124644
commit
ab64451d65
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ export async function initHydra(options = {}) {
|
||||||
hydra.synth.s0.init({ src: canvas });
|
hydra.synth.s0.init({ src: canvas });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return hydra;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function clearHydra() {
|
export function clearHydra() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue