MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / checkSignal

Function checkSignal

lib.esm/utils/fetch.js:105–111  ·  view source on GitHub ↗
(signal)

Source from the content-addressed store, hash-verified

103}
104// Check the signal, throwing if it is cancelled
105function checkSignal(signal) {
106 if (signal == null) {
107 throw new Error("missing signal; should not happen");
108 }
109 signal.checkSignal();
110 return signal;
111}
112/**
113 * Represents a request for a resource using a URI.
114 *

Callers 1

#sendMethod · 0.70

Calls 1

checkSignalMethod · 0.45

Tested by

no test coverage detected