Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ send
Method
send
packages/vite/src/shared/hmr.ts:150–152 ·
view source on GitHub ↗
(event: T, data?: InferCustomEventPayload<T>)
Source
from the content-addressed store, hash-verified
148
}
149
150
send<T extends string>(event: T, data?: InferCustomEventPayload<T>): void {
151
this.hmrClient.send({
type
:
'custom'
, event, data })
152
}
153
154
private acceptDeps(
155
deps: string[],
Callers
1
invalidate
Method · 0.95
Calls
1
send
Method · 0.65
Tested by
no test coverage detected