MCPcopy Index your code
hub / github.com/PowerShell/vscode-powershell / sleep

Function sleep

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

Source from the content-addressed store, hash-verified

104}
105
106export function sleep(ms: number): Promise<void> {
107 return new Promise((resolve) => setTimeout(resolve, ms));
108}
109
110export const isMacOS: boolean = process.platform === "darwin";
111export const isWindows: boolean = process.platform === "win32";

Calls

no outgoing calls

Tested by

no test coverage detected