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/client"
IClient
Interface IClient<IN, IEventsList>
Type parameters
IN
:
TTracker
IEventsList
:
IClientEventsList
Hierarchy
IManager
<
IN
,
IEventsList
>
IClient
Client
Indexable
[
key:
string
]:
any
Index
Constructors
constructor
Properties
List
client
emitter
id
is
Destroyed
is
Started
Methods
add
destroy
emit
generate
Id
off
on
once
remove
start
starting
stop
stopping
tracking
untracking
wrap
Constructors
constructor
new IClient
(
id
?:
string
)
:
any
Parameters
Optional
id:
string
Returns
any
Properties
List
List
:
TClass
<
IN
>
Optional
client
client
:
any
emitter
emitter
:
EventEmitter
id
id
:
string
is
Destroyed
is
Destroyed
:
boolean
is
Started
is
Started
:
boolean
Methods
add
add
(
node
:
IN
)
:
this
Parameters
node:
IN
Returns
this
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
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
remove
remove
(
node
:
IN
)
:
this
Parameters
node:
IN
Returns
this
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
starting
starting
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stopping
stopping
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
tracking
tracking
(
tracker
:
any
)
:
void
Parameters
tracker:
any
Returns
void
untracking
untracking
(
tracker
:
any
)
:
void
Parameters
tracker:
any
Returns
void
wrap
wrap
(
node
:
IN
)
:
this
Parameters
node:
IN
Returns
this
Globals
"ancient-
tracker/src/lib/client"
Client
IClient
constructor
List
client
emitter
id
is
Destroyed
is
Started
add
destroy
emit
generate
Id
off
on
once
remove
start
starting
stop
stopping
tracking
untracking
wrap
IClient
Events
List
TClient
Mixed
Client
mixin
Generated using
TypeDoc