UNPKG
@xmobitea/gn-typescript-client
Version:
latest (2.6.10-tsc)
2.6.10
2.6.10-tsc
2.6.9
2.6.9-tsc
2.6.8
2.6.8-tsc
2.6.7
2.6.7-tsc
2.6.6
2.6.6-tsc
2.6.5
2.6.5-tsc
2.6.4
2.6.3
2.6.3-esnext
2.6.2
2.6.2-esnext
2.6.1
2.6.0
2.6.0-esnext
2.5.4
2.5.3
2.5.3-esnext
2.5.2
2.5.2-esnext
2.5.1
2.5.1-esnext
2.5.0
2.5.0-esnext
2.4.10
2.4.10-esnext
2.4.9
2.4.9-esnext
2.4.8
2.4.8-esnext
2.4.7
2.4.7-esnext
2.4.6
2.4.6-esnext
2.4.5
2.4.5-esnext
2.4.4
2.4.4-esnext
2.4.3
2.4.3-esnext
2.4.2
2.4.2-esnext
2.4.1
2.4.1-esnext
2.4.0-esnext
2.3.3
2.3.3-esnext
2.3.2
2.3.2-esnext
2.3.1
2.3.1-esnext
2.3.0
2.3.0-esnext
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.0
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.9
1.0.7
0.0.4
0.0.3
0.0.2
0.0.1
GearN Typescript Client SDK by XmobiTea (Pro)
gearn.net
XmobiTea-Family/GearN-typescript-client-sdk
@xmobitea/gn-typescript-client
/
dist
/
runtime
/
typescript
/
ServiceUpdate.js
13 lines
(12 loc)
•
230 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
export
class
ServiceUpdate
{
run
(
) {
let
thiz =
this
;
setInterval
(
() =>
{ thiz.
update
(); },
50
); }
update
(
) {
if
(
this
.
peer
!=
null
)
this
.
peer
.
service
(); } }