Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

compareLiveQueryWindowDependencies.md

42 lines692 Bytes

1---
2id: compareLiveQueryWindowDependencies
3title: compareLiveQueryWindowDependencies
4---
5​
6# Function: compareLiveQueryWindowDependencies()
7​
8```ts
9function compareLiveQueryWindowDependencies(previous, current): object;
10```
11​
12Defined in: [packages/db/src/live-query-window-controller.ts:429](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L429)
13​
14**`Internal`**
15​
16Compare adapter dependencies by identity and structure.
17​
18## Parameters
19​
20### previous
21​
22readonly `unknown`[] | `null` | `undefined`
23​
24### current
25​
26readonly `unknown`[]
27​
28## Returns
29​
30`object`
31​
32### changed
33​
34```ts
35changed: boolean;
36```
37​
38### structurallyEqual
39​
40```ts
41structurallyEqual: boolean;
42```