UNPKG

471 BJavaScriptView Raw
1/**
2 * @deprecated
3 * This is not used internally any more and will be removed in
4 * the next major version of Apollo Client.
5 */
6export var createSignalIfSupported = function () {
7 if (typeof AbortController === "undefined")
8 return { controller: false, signal: false };
9 var controller = new AbortController();
10 var signal = controller.signal;
11 return { controller: controller, signal: signal };
12};
13//# sourceMappingURL=createSignalIfSupported.js.map
\No newline at end of file