UNPKG
socket.io-client
Version:
alpha (4.6.0-alpha2)
beta (3.0.0-rc4)
latest (4.8.1)
v2-latest (2.5.0)
v3-latest (3.1.3)
4.8.1
4.8.0
4.7.5
4.7.4
4.7.3
4.7.2
4.7.1
4.7.0
4.6.2
4.6.1
4.6.0
4.6.0-alpha2
4.6.0-alpha1
4.5.4
4.5.3
4.5.2
4.5.1
4.5.0
4.4.1
4.4.0
4.3.2
4.3.1
4.3.0
4.2.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
3.1.3
3.1.2
3.1.1
3.1.0
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0-rc4
3.0.0-rc3
3.0.0-rc2
3.0.0-rc1
2.5.0
2.4.0
2.3.1
2.3.0
2.2.0
2.1.1
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0-pre5
1.0.0-pre4
1.0.0-pre3
1.0.0-pre2
1.0.0-pre
0.9.17
0.9.16
0.9.15
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.1-1
0.9.0
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.11
0.7.10
0.7.9
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
Realtime application framework client
github.com/socketio/socket.io-client
socketio/socket.io-client
socket.io-client
/
build
/
esm
/
on.d.ts
3 lines
(2 loc)
•
158 B
TypeScript
View Raw
1
2
3
import
{
Emitter
}
from
"@socket.io/component-emitter"
;
export
declare
function
on
(
obj
:
Emitter
<
any
,
any
>,
ev
:
string
,
fn
: (err?:
any
) =>
any
):
VoidFunction
;