MCPcopy
hub / github.com/yocontra/react-responsive / sleep

Function sleep

test/useMediaQuery_test.tsx:15–16  ·  view source on GitHub ↗
(timeOut: number)

Source from the content-addressed store, hash-verified

13}
14
15const sleep = (timeOut: number) =>
16 new Promise((resolve) => setTimeout(resolve, timeOut))
17
18describe('useMediaQuery', () => {
19 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…