Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ onAborted
Function
onAborted
lib/dgram.js:172–174 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
170
const
{ signal } = options;
171
validateAbortSignal(signal,
'options.signal'
);
172
const
onAborted = () => {
173
if
(this[kStateSymbol].handle) this.close();
174
};
175
if
(signal.aborted) {
176
onAborted();
177
}
else
{
Callers
1
Socket
Function · 0.70
Calls
1
close
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…