Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ on
Function
on
packages/socket.io-component-emitter/lib/esm/index.js:54–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
52
53
Emitter.prototype.once =
function
(event, fn){
54
function
on() {
55
this.off(event, on);
56
fn.apply(this, arguments);
57
}
58
59
on.fn = fn;
60
this.on(event, on);
Callers
3
subEvents
Method · 0.90
open
Method · 0.90
onopen
Method · 0.90
Calls
1
apply
Method · 0.80
Tested by
no test coverage detected