MCPcopy
hub / github.com/heroku/react-refetch / refreshInterval

Function refreshInterval

src/utils/checkTypes.js:66–70  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

64 },
65
66 refreshInterval(num) {
67 typecheck('number', 'refreshInterval', num)
68 invariant(num >= 0, 'refreshInterval must be positive or 0.')
69 invariant(num !== Infinity, 'refreshInterval must not be Infinity.')
70 },
71
72 Request(fn) {
73 typecheck('function', 'Request', fn)

Callers

nothing calls this directly

Calls 1

typecheckFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…