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

Function delay

emain/emain-util.ts:54–56  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

52let lastCtrlShiftSate: boolean = false;
53
54export function delay(ms): Promise<void> {
55 return new Promise((resolve) => setTimeout(resolve, ms));
56}
57
58function setCtrlShift(wc: Electron.WebContents, state: boolean) {
59 lastCtrlShiftSate = state;

Callers 2

relaunchBrowserWindowsFunction · 0.90
installUpdateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected