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

Method send

packages/vite/types/hot.d.ts:35–35  ·  view source on GitHub ↗
(
    event: T,
    data?: InferCustomEventPayload<T>,
  )

Source from the content-addressed store, hash-verified

33 cb: (payload: InferCustomEventPayload<T>) => void,
34 ): void
35 send<T extends CustomEventName>(
36 event: T,
37 data?: InferCustomEventPayload<T>,
38 ): void

Callers 8

hotUpdateFunction · 0.65
configureServerFunction · 0.65
hmr.tsFile · 0.65
html.spec.tsFile · 0.65
hotUpdateFunction · 0.65
configureServerFunction · 0.65
hmr.tsFile · 0.65
fetchModuleViaWebSocketFunction · 0.65

Implementers 1

HMRContextpackages/vite/src/shared/hmr.ts

Calls

no outgoing calls

Tested by 1

fetchModuleViaWebSocketFunction · 0.52