MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / delay

Function delay

apps/desktop/src/main/index.ts:155–155  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

153const DESKTOP_DATA_DIR = join(homedir(), ".executor");
154
155const delay = (ms: number): Promise<void> => new Promise((r) => setTimeout(r, ms));
156
157const parseVersionParts = (version: string): readonly number[] | null => {
158 const core = version.trim().split(/[+-]/, 1)[0];

Callers 1

waitForSupervisedAttachFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected