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

Method send

packages/vite/src/shared/moduleRunnerTransport.ts:21–21  ·  view source on GitHub ↗
(data: HotPayload)

Source from the content-addressed store, hash-verified

19 connect?(handlers: ModuleRunnerTransportHandlers): Promise<void> | void
20 disconnect?(): Promise<void> | void
21 send?(data: HotPayload): Promise<void> | void
22 invoke?(data: HotPayload): Promise<{ result: any } | { error: any }>
23 timeout?: number
24}

Callers 6

sendMethod · 0.65
sendMethod · 0.65
sendFunction · 0.65
connectFunction · 0.65
sendErrorFunction · 0.65
sendLogFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected