()
| 44 | } |
| 45 | |
| 46 | step(): void { |
| 47 | if (!this.#finalized) { |
| 48 | throw new Error(`Graph not finalized`) |
| 49 | } |
| 50 | for (const op of this.#operators) { |
| 51 | op.run() |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | pendingWork(): boolean { |
| 56 | return this.#operators.some((op) => op.hasPendingWork()) |
no test coverage detected