Search
Preparing search index...
The search index is not available
node-mediator
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"implementations/ConcreteEmitter"
ConcreteEmitter
Class ConcreteEmitter
Hierarchy
EventEmitter2
ConcreteEmitter
Implements
Emitter
Index
Constructors
constructor
Methods
add
Listener
emit
emit
Async
event
Names
listeners
listeners
Any
many
off
off
Any
on
on
Any
once
prepend
Any
prepend
Listener
prepend
Many
prepend
Once
Listener
remove
All
Listeners
remove
Listener
set
Max
Listeners
Constructors
constructor
new
Concrete
Emitter
(
options
?:
ConstructorOptions
)
:
ConcreteEmitter
Parameters
Optional
options:
ConstructorOptions
Returns
ConcreteEmitter
Methods
add
Listener
add
Listener
(
event
:
string
, listener
:
Listener
)
:
this
Parameters
event:
string
listener:
Listener
Returns
this
emit
emit
(
event
:
string
|
string
[]
,
...
values
:
any
[]
)
:
boolean
Parameters
event:
string
|
string
[]
Rest
...
values:
any
[]
Returns
boolean
emit
Async
emit
Async
(
event
:
string
|
string
[]
,
...
values
:
any
[]
)
:
Promise
<
any
[]
>
Parameters
event:
string
|
string
[]
Rest
...
values:
any
[]
Returns
Promise
<
any
[]
>
event
Names
event
Names
(
)
:
string
[]
Returns
string
[]
listeners
listeners
(
event
:
string
|
string
[]
)
:
Listener
[]
Parameters
event:
string
|
string
[]
Returns
Listener
[]
listeners
Any
listeners
Any
(
)
:
Listener
[]
Returns
Listener
[]
many
many
(
event
:
string
|
string
[]
, timesToListen
:
number
, listener
:
Listener
)
:
this
Parameters
event:
string
|
string
[]
timesToListen:
number
listener:
Listener
Returns
this
off
off
(
event
:
string
, listener
:
Listener
)
:
this
Parameters
event:
string
listener:
Listener
Returns
this
off
Any
off
Any
(
listener
:
Listener
)
:
this
Parameters
listener:
Listener
Returns
this
on
on
(
event
:
string
|
string
[]
, listener
:
Listener
)
:
this
Parameters
event:
string
|
string
[]
listener:
Listener
Returns
this
on
Any
on
Any
(
listener
:
EventAndListener
)
:
this
Parameters
listener:
EventAndListener
Returns
this
once
once
(
event
:
string
|
string
[]
, listener
:
Listener
)
:
this
Parameters
event:
string
|
string
[]
listener:
Listener
Returns
this
prepend
Any
prepend
Any
(
listener
:
EventAndListener
)
:
this
Parameters
listener:
EventAndListener
Returns
this
prepend
Listener
prepend
Listener
(
event
:
string
|
string
[]
, listener
:
Listener
)
:
this
Parameters
event:
string
|
string
[]
listener:
Listener
Returns
this
prepend
Many
prepend
Many
(
event
:
string
|
string
[]
, timesToListen
:
number
, listener
:
Listener
)
:
this
Parameters
event:
string
|
string
[]
timesToListen:
number
listener:
Listener
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
string
[]
, listener
:
Listener
)
:
this
Parameters
event:
string
|
string
[]
listener:
Listener
Returns
this
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
eventNS
)
:
this
Parameters
Optional
event:
string
|
eventNS
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
string
[]
, listener
:
Listener
)
:
this
Parameters
event:
string
|
string
[]
listener:
Listener
Returns
this
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
void
Parameters
n:
number
Returns
void
Globals
"abstracts/
Colleague"
"defaults/
Relations"
"implementations/
Concrete
Emitter"
"implementations/
Concrete
Mediator"
"interfaces/
Emitter"
"interfaces/
Mediator"
"types/
Colleague"
"types/
Listener"
"types/
Relations"
"types/
Relations
Event
Map"
"utils/random
String"
Concrete
Emitter
constructor
add
Listener
emit
emit
Async
event
Names
listeners
listeners
Any
many
off
off
Any
on
on
Any
once
prepend
Any
prepend
Listener
prepend
Many
prepend
Once
Listener
remove
All
Listeners
remove
Listener
set
Max
Listeners
Generated using
TypeDoc