()
| 26 | } |
| 27 | |
| 28 | newInput<T>(): RootStreamBuilder<T> { |
| 29 | this.#checkNotFinalized() |
| 30 | const writer = new DifferenceStreamWriter<T>() |
| 31 | // Use the root stream builder that exposes the sendData and sendFrontier methods |
| 32 | const streamBuilder = new RootStreamBuilder<T>(this, writer) |
| 33 | return streamBuilder |
| 34 | } |
| 35 | |
| 36 | addOperator(operator: UnaryOperator<any> | BinaryOperator<any>): void { |
| 37 | this.#checkNotFinalized() |