MCPcopy Index your code
hub / github.com/nodejs/node / validateThisAbortSignal

Function validateThisAbortSignal

lib/internal/abort_controller.js:135–138  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

133}
134
135function validateThisAbortSignal(obj) {
136 if (obj?.[kAborted] === undefined)
137 throw new ERR_INVALID_THIS('AbortSignal');
138}
139
140function refreshCompositeSignal(signal) {
141 if (!signal[kComposite] || signal[kAborted] || !signal[kSourceSignals]?.size) {

Callers 4

abortedMethod · 0.85
reasonMethod · 0.85
throwIfAbortedMethod · 0.85
[kTransfer]Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…