MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / delay

Function delay

src/util.ts:166–168  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

164}
165
166export async function delay(ms: number): Promise<unknown> {
167 return new Promise((resolve) => setTimeout(resolve, ms));
168}
169
170export function checkForSpecialCharacters(text: string): boolean {
171 return !/[~`!#$%^&*+=\-[\]\\';,/{}|\\":<>?\s]/g.test(text);

Callers 4

chooseTerminalFunction · 0.90
runTextInTermFunction · 0.90
openTmpCSVFunction · 0.90
waitForFileToFinishFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected