MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / setHMRWsUrl

Function setHMRWsUrl

packages/vite/hmr/client/utils.ts:114–116  ·  view source on GitHub ↗
(wsUrl: string | undefined)

Source from the content-addressed store, hash-verified

112}
113let hmrWsUrl: string | undefined = undefined;
114export function setHMRWsUrl(wsUrl: string | undefined) {
115 hmrWsUrl = wsUrl;
116}
117export function getHMRWsUrl(): string | undefined {
118 return hmrWsUrl;
119}

Callers 1

initHmrClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected