Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ onData
Method
onData
packages/engine.io/lib/userver.ts:368–372 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
366
}
367
368
public onData(fn) {
369
if
(this.isAborted)
return
;
370
371
this.res.onData(fn);
372
}
373
374
public onAborted(fn) {
375
if
(this.isAborted)
return
;
Callers
3
addEventListeners
Function · 0.45
doPoll
Method · 0.45
attach
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected