Search
Preparing search index...
The search index is not available
AncientSouls Documentation
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"ancient-tracker/src/lib/tracker"
ITracker
Interface ITracker<IEventsList>
Type parameters
IEventsList
:
ITrackerEventsList
Hierarchy
INode
<
IEventsList
>
ITracker
Tracker
Indexable
[
key:
string
]:
any
Index
Constructors
constructor
Properties
current
emitter
fetch
id
id
Field
indexes
is
Destroyed
query
update
Methods
destroy
emit
generate
Id
get
is
Changed
off
on
once
set
Constructors
constructor
new ITracker
(
id
?:
string
)
:
any
Parameters
Optional
id:
string
Returns
any
Properties
current
current
:
any
[]
emitter
emitter
:
EventEmitter
fetch
fetch
:
function
Type declaration
(
)
:
Promise
<
any
[]
>
|
any
[]
Returns
Promise
<
any
[]
>
|
any
[]
id
id
:
string
id
Field
id
Field
:
string
indexes
indexes
:
object
Type declaration
[
id:
string
]:
number
is
Destroyed
is
Destroyed
:
boolean
Optional
query
query
:
any
Optional
update
update
:
any
[]
Methods
destroy
destroy
(
)
:
void
Returns
void
emit
emit<IE>
(
eventName
:
IE
, data
:
IEventsList[IE]
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
data:
IEventsList[IE]
Returns
this
generate
Id
generate
Id
(
)
:
string
Returns
string
get
get
(
handler
?:
function
)
:
Promise
<
ITrackerChanges
>
Parameters
Optional
handler:
function
(
ITrackerChange
:
any
)
:
ITrackerChange
Parameters
ITrackerChange:
any
Returns
ITrackerChange
Returns
Promise
<
ITrackerChanges
>
is
Changed
is
Changed
(
previous
:
any
, current
:
any
)
:
boolean
Parameters
previous:
any
current:
any
Returns
boolean
off
off<IE>
(
eventName
:
IE
, listener
:
function
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
listener:
function
(
data
:
IEventsList[IE]
)
:
void
Parameters
data:
IEventsList[IE]
Returns
void
Returns
this
on
on<IE>
(
eventName
:
IE
, listener
:
function
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
listener:
function
(
data
:
IEventsList[IE]
)
:
void
Parameters
data:
IEventsList[IE]
Returns
void
Returns
this
once
once<IE>
(
eventName
:
IE
, listener
:
function
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
listener:
function
(
data
:
IEventsList[IE]
)
:
void
Parameters
data:
IEventsList[IE]
Returns
void
Returns
this
set
set
(
update
:
any
[]
)
:
void
Parameters
update:
any
[]
Returns
void
Globals
"ancient-
tracker/src/lib/tracker"
Tracker
ITracker
constructor
current
emitter
fetch
id
id
Field
indexes
is
Destroyed
query
update
destroy
emit
generate
Id
get
is
Changed
off
on
once
set
ITracker
Change
ITracker
Change
Event
ITracker
Events
List
ITracker
Changes
TTracker
Mixed
Tracker
mixin
Generated using
TypeDoc