Search
Preparing search index...
The search index is not available
sygic-travel-js-sdk
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"Changes/ChangeWatcher"
ChangeWatcher
Class ChangeWatcher
Hierarchy
ChangeWatcher
Index
Constructors
constructor
Properties
callback
change
Watch
Ticker
last
Server
Timestamp
tick
Interval
Methods
check
Changes
get
Changes
From
Api
kill
reset
start
Constructors
constructor
new
Change
Watcher
(
tickInterval
:
number
, callback
:
function
)
:
ChangeWatcher
Parameters
tickInterval:
number
callback:
function
(
changeNotifications
:
ChangeNotification
[]
)
:
any
Parameters
changeNotifications:
ChangeNotification
[]
Returns
any
Returns
ChangeWatcher
Properties
Private
callback
callback
:
function
Type declaration
(
changeNotifications
:
ChangeNotification
[]
)
:
any
Parameters
changeNotifications:
ChangeNotification
[]
Returns
any
Private
change
Watch
Ticker
change
Watch
Ticker
:
any
Private
last
Server
Timestamp
last
Server
Timestamp
:
string
|
null
Private
tick
Interval
tick
Interval
:
number
Methods
Private
check
Changes
check
Changes
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Private
get
Changes
From
Api
get
Changes
From
Api
(
)
:
Promise
<
ChangeNotification
[]
>
Returns
Promise
<
ChangeNotification
[]
>
kill
kill
(
)
:
void
Returns
void
reset
reset
(
)
:
void
Returns
void
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Globals
"
Changes/
Change
Watcher"
Change
Watcher
constructor
callback
change
Watch
Ticker
last
Server
Timestamp
tick
Interval
check
Changes
get
Changes
From
Api
kill
reset
start
Generated using
TypeDoc