MCPcopy Create free account
hub / github.com/adobe/react-spectrum / pause

Function pause

perf/drivers.mjs:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19// Hooks receive {page, size, action} and, when verifying, the measured sample.
20
21export const pause = ms => new Promise(resolve => setTimeout(resolve, ms));
22
23const condition = (selector, rest = {}) => ({selector, ...rest});
24const click = (target, conditions) => ({event: 'pointerdown', target, conditions});

Callers 3

performFunction · 0.90
runFunction · 0.90
drivers.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected