UNPKG
@triniwiz/nativescript-socketio
Version:
latest (6.0.1)
6.0.1
6.0.0
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.3
4.0.2
4.0.1
4.0.0
Socket.IO for nativescript
github.com/triniwiz/nativescript-plugins
triniwiz/nativescript-plugins
@triniwiz/nativescript-socketio
/
common.js
18 lines
•
299 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** * */
export
class
Common
{
get
disconnected
() {
return
!
this
.
connected
; }
get
instance
() {
return
this
.
socket
; }
connect
(
) {
this
.
socket
.
connect
(); }
disconnect
(
) {
this
.
socket
.
disconnect
(); } }
//# sourceMappingURL=common.js.map