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

Method send

packages/vite/src/shared/hmr.ts:198–202  ·  packages/vite/src/shared/hmr.ts::HMRClient.send
(payload: HotPayload)

Source from the content-addressed store, hash-verified

196 }
197
198 public send(payload: HotPayload): void {
199 this.transport.send(payload).catch((err) => {
200 this.logger.error(err)
201 })
202 }
203
204 public clear(): void {
205 this.hotModulesMap.clear()

Callers

nothing calls this directly

Calls 2

sendMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected