MCPcopy Create free account
hub / github.com/TanStack/devtools / requestPackageJson

Function requestPackageJson

packages/devtools/src/tabs/plugin-marketplace.tsx:198–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 // marketplace stays stuck on the empty "all installed" state. Retry until
197 // the package.json actually arrives so re-opening always re-fetches.
198 const requestPackageJson = () =>
199 devtoolsEventClient.emit('mounted', undefined)
200
201 let refetchAttempts = 0
202 const refetchInterval = setInterval(() => {

Callers 1

PluginMarketplaceFunction · 0.85

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected