You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
471 B
13 lines
471 B
4 months ago
|
/**
|
||
|
* @deprecated
|
||
|
* This is not used internally any more and will be removed in
|
||
|
* the next major version of Apollo Client.
|
||
|
*/
|
||
|
export var createSignalIfSupported = function () {
|
||
|
if (typeof AbortController === "undefined")
|
||
|
return { controller: false, signal: false };
|
||
|
var controller = new AbortController();
|
||
|
var signal = controller.signal;
|
||
|
return { controller: controller, signal: signal };
|
||
|
};
|
||
|
//# sourceMappingURL=createSignalIfSupported.js.map
|