Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ emit
Function
emit
packages/query-devtools/src/__tests__/utils.test.ts:1323–1327 ·
view source on GitHub ↗
(matches: boolean)
Source
from the content-addressed store, hash-verified
1321
return
{
1322
matchMedia,
1323
emit(matches: boolean) {
1324
listeners.forEach((listener) =>
1325
listener({ matches } as MediaQueryListEvent),
1326
)
1327
},
1328
listenerCount: () => listeners.size,
1329
}
1330
}
Callers
1
utils.test.ts
File · 0.85
Calls
1
listener
Function · 0.50
Tested by
no test coverage detected