MCPcopy
hub / github.com/visgl/deck.gl / sleep

Function sleep

test/interaction/map-controller.spec.ts:10–12  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

8
9// Test utilities
10function sleep(ms: number): Promise<void> {
11 return new Promise(resolve => setTimeout(resolve, ms));
12}
13
14async function emulateEvent(event: any): Promise<void> {
15 if ('wait' in event) {

Callers 2

emulateEventFunction · 0.70
resetViewStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…