MCPcopy Create free account
hub / github.com/TanStack/db / newInput

Method newInput

packages/db-ivm/src/d2.ts:28–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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()

Callers 15

testJoinFunction · 0.95
testDistinctFunction · 0.95
testCountFunction · 0.95
testJoinFunction · 0.95
testConsolidateFunction · 0.95
compilePipelineMethod · 0.80
compileBasePipelineMethod · 0.80
basic.test.tsFile · 0.80
createIssueInputFunction · 0.80
createUserInputFunction · 0.80
topK.test.tsFile · 0.80

Calls 1

#checkNotFinalizedMethod · 0.95

Tested by 7

testJoinFunction · 0.76
testDistinctFunction · 0.76
testCountFunction · 0.76
testJoinFunction · 0.76
testConsolidateFunction · 0.76
createIssueInputFunction · 0.64
createUserInputFunction · 0.64