Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ drain
Method
drain
packages/db-ivm/src/graph.ts:19–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
drain(): Array<MultiSet<T>> {
20
const
out = [...this.#queue].reverse()
21
this.#queue.length = 0
22
return
out
23
}
24
25
isEmpty(): boolean {
26
return
this.#queue.length === 0
Callers
4
inputMessages
Function · 0.80
inputAMessages
Function · 0.80
inputBMessages
Function · 0.80
graph.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected