MCPcopy
hub / github.com/github/hotkey / wait

Function wait

test/test.js:17–21  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

15}
16
17async function wait(ms) {
18 return new Promise(function (resolve) {
19 return setTimeout(resolve, ms)
20 })
21}
22
23// Simulate entering a series of keys with `delay` milliseconds in between
24// keystrokes.

Callers 2

keySequenceFunction · 0.85
test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected