root: allow arbitrarily awaiting completion

This commit is contained in:
MapleLeaf
2021-12-22 13:52:05 -06:00
parent b3b0fdc279
commit e2c45c2f8e

View File

@@ -21,5 +21,6 @@ export function createRoot(target: ReacordRenderTarget) {
container.destroy()
return container.completion()
},
complete: () => container.completion(),
}
}