Skip to content

Commit

Permalink
Bind subgraph newAbortController event to parent graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangYiJiang committed Dec 20, 2024
1 parent 6fa1ce0 commit 9c8e6f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/model/GraphProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9c8e6f4

Please sign in to comment.