MCPcopy
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

addEventListenersFunction · 0.45
doPollMethod · 0.45
attachMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected