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