MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / stopPolling

Function stopPolling

packages/react/src/api/oauth-popup.ts:135–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 };
134
135 const stopPolling = () => {
136 if (pollHandle !== null) {
137 clearInterval(pollHandle);
138 pollHandle = null;
139 }
140 };
141
142 /** Close the popup window if it's still open. Swallows cross-origin errors. */
143 const closePopup = (popup: Window | null) => {

Callers 1

settleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected