Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ on
Function
on
client-dist/socket.io.js:641–644 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
639
640
Emitter.prototype.once =
function
(event, fn) {
641
function
on() {
642
this.off(event, on);
643
fn.apply(this, arguments);
644
}
645
on.fn = fn;
646
this.on(event, on);
647
return
this;
Callers
1
socket.io.js
File · 0.70
Calls
1
on
Method · 0.45
Tested by
no test coverage detected