MCPcopy
hub / github.com/socketio/socket.io / onClose

Function onClose

packages/engine.io/lib/transport.ts:173–176  ·  view source on GitHub ↗

* Called upon transport close. * * @protected

()

Source from the content-addressed store, hash-verified

171 * @protected
172 */
173 protected onClose() {
174 this.readyState = "closed";
175 this.emit("close");
176 }
177
178 /**
179 * The name of the transport.

Callers 2

doCloseMethod · 0.50
doCloseMethod · 0.50

Calls 1

emitMethod · 0.65

Tested by

no test coverage detected