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

Method clearAllRefreshTimeouts

src/components/connect.js:425–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

423 }
424
425 clearAllRefreshTimeouts() {
426 Object.keys(this.state.refreshTimeouts).forEach((prop) => {
427 clearTimeout(this.state.refreshTimeouts[prop])
428 })
429 }
430 }
431
432 RefetchConnect.displayName = `Refetch.connect(${getDisplayName(WrappedComponent)})`

Callers 2

componentWillUnmountMethod · 0.95
connectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected