MCPcopy Create free account
hub / github.com/chhoumann/quickadd / waitFor

Function waitFor

src/utility.ts:1–3  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

1export function waitFor(ms: number): Promise<unknown> {
2 return new Promise((res) => window.setTimeout(res, ms));
3}
4
5export function getLinesInString(input: string) {
6 return input.split("\n");

Calls

no outgoing calls

Tested by

no test coverage detected