We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b57c01b + 49d7c7f commit 82aaa55Copy full SHA for 82aaa55
app/lib/runtime/action-runner.ts
@@ -95,11 +95,12 @@ export class ActionRunner {
95
96
this.#currentExecutionPromise = this.#currentExecutionPromise
97
.then(() => {
98
- this.#executeAction(actionId, isStreaming);
+ return this.#executeAction(actionId, isStreaming);
99
})
100
.catch((error) => {
101
console.error('Action failed:', error);
102
});
103
+ return this.#currentExecutionPromise;
104
}
105
106
async #executeAction(actionId: string, isStreaming: boolean = false) {
0 commit comments