Make async callback handle async

This commit is contained in:
pythongosssss
2023-07-21 12:34:42 +01:00
committed by GitHub
parent 93f2a5788d
commit a534eb8d61
+1 -1
View File
@@ -207,7 +207,7 @@ app.registerExtension({
called = true;
for (const cb of callbacks) {
widget.value = cb(workflowNode, widgetIndex);
widget.value = await cb(workflowNode, widgetIndex);
}
const prompt = widget.value;