MCPcopy
hub / github.com/VSCodeVim/Vim / wait

Function wait

test/testSimplifier.ts:426–426  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

424 // finished yet (maybe the remapping has a lot of keys to handle) so we wait for the
425 // remapping to finish
426 const wait = (ms: number) => new Promise((res) => setTimeout(res, ms));
427 while (modeHandler.remapState.isCurrentlyPerformingRemapping) {
428 // Wait a little bit longer here because the currently performing remap might have
429 // some remaining keys to handle after it finishes performing the remap and there

Callers 2

p2Function · 0.85
sendKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected