feat(k1): complete primary acquisition lifecycle
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export async function runAutomaticSpatialSourceStart(
|
||||
start: () => Promise<boolean>,
|
||||
activateAutomaticSpatialSource: () => void,
|
||||
openSpatialScene: () => void,
|
||||
): Promise<boolean> {
|
||||
const started = await start();
|
||||
if (!started) return false;
|
||||
activateAutomaticSpatialSource();
|
||||
openSpatialScene();
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user