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

Method constructor

packages/db-ivm/src/operators/tap.ts:13–21  ·  view source on GitHub ↗
(
    id: number,
    inputA: DifferenceStreamReader<T>,
    output: DifferenceStreamWriter<T>,
    f: (data: MultiSet<T>) => void,
  )

Source from the content-addressed store, hash-verified

11 #f: (data: MultiSet<T>) => void
12
13 constructor(
14 id: number,
15 inputA: DifferenceStreamReader<T>,
16 output: DifferenceStreamWriter<T>,
17 f: (data: MultiSet<T>) => void,
18 ) {
19 super(id, inputA, output)
20 this.#f = f
21 }
22
23 inner(collection: MultiSet<T>): MultiSet<T> {
24 this.#f(collection)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected