From 9c8e6f41a9e7af631d78e1bec7d4dd87436b192f Mon Sep 17 00:00:00 2001 From: Zhang Yi Jiang Date: Thu, 19 Dec 2024 16:03:06 -0800 Subject: [PATCH] Bind subgraph newAbortController event to parent graph --- packages/core/src/model/GraphProcessor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/model/GraphProcessor.ts b/packages/core/src/model/GraphProcessor.ts index 6fa6fe60..014070b0 100644 --- a/packages/core/src/model/GraphProcessor.ts +++ b/packages/core/src/model/GraphProcessor.ts @@ -1513,6 +1513,7 @@ export class GraphProcessor { processor.on('graphStart', (e) => this.#emitter.emit('graphStart', e)); processor.on('graphFinish', (e) => this.#emitter.emit('graphFinish', e)); processor.on('globalSet', (e) => this.#emitter.emit('globalSet', e)); + processor.on('newAbortController', (e) => this.#emitter.emit('newAbortController', e)); processor.on('pause', () => { if (!this.#isPaused) { this.pause();