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

Method checkSignal

lib.esm/utils/fetch.js:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99 get cancelled() { return this.#cancelled; }
100 checkSignal() {
101 assert(!this.cancelled, "cancelled", "CANCELLED", {});
102 }
103}
104// Check the signal, throwing if it is cancelled
105function checkSignal(signal) {

Callers 2

checkSignalFunction · 0.45
getUrlFunction · 0.45

Calls 1

assertFunction · 0.90

Tested by

no test coverage detected