MCPcopy
hub / github.com/wavetermdev/waveterm / makeConnRoute

Function makeConnRoute

frontend/util/util.ts:339–344  ·  view source on GitHub ↗
(conn: string)

Source from the content-addressed store, hash-verified

337}
338
339function makeConnRoute(conn: string): string {
340 if (isBlank(conn)) {
341 return "conn:local";
342 }
343 return "conn:" + conn;
344}
345
346function sleep(ms: number): Promise<void> {
347 return new Promise((resolve) => setTimeout(resolve, ms));

Callers 4

doOneFetchMethod · 0.90
doKeepAliveMethod · 0.90
sendSignalMethod · 0.90
fetchSuggestionsFunction · 0.90

Calls 1

isBlankFunction · 0.70

Tested by

no test coverage detected