MCPcopy
hub / github.com/vitejs/vite / get

Method get

packages/vite/src/node/server/bundledDev.ts:504–506  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

502 }
503
504 get(id: string): NormalizedHotChannelClient | undefined {
505 return this.idToClient.get(id)
506 }
507
508 getAll(): NormalizedHotChannelClient[] {
509 return Array.from(this.idToClient.values())

Callers 15

ssrTransformScriptFunction · 0.45
onIdentifierFunction · 0.45
setScopeFunction · 0.45
isInScopeFunction · 0.45
createWorkerTransportFunction · 0.45
getMethod · 0.45
listenMethod · 0.45
invalidateModuleMethod · 0.45
setupIfNeededMethod · 0.45
deleteMethod · 0.45
invalidateModuleMethod · 0.45
transformRequestFunction · 0.45

Calls

no outgoing calls

Tested by 1

createWorkerTransportFunction · 0.36