MCPcopy Create free account
hub / github.com/VirtualHotBar/NetMount / sleep

Function sleep

src/utils/utils.ts:322–324  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

320}
321
322export async function sleep(ms: number) {
323 return new Promise(resolve => setTimeout(resolve, ms))
324}
325
326export async function getAvailablePorts(count: number = 1) {
327 return (await invoke('get_available_ports', { count: count })) as number[]

Callers 7

startSidecarAndWaitFunction · 0.90
stopSidecarGracefullyFunction · 0.90
waitForReadyFunction · 0.90
reupOpenlistVersionFunction · 0.90
stop_componentsFunction · 0.85
spawn_sidecarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected