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/ConcreteMediator"
ConcreteMediator
Class ConcreteMediator
Hierarchy
ConcreteMediator
Implements
Mediator
Index
Constructors
constructor
Properties
colleagues
emitter
relations
Methods
check
Colleague
Exists
emit
emit
Async
emit
Event
Exists
event
Exists
on
on
Event
Exists
register
Constructors
constructor
new
Concrete
Mediator
(
relations
:
RelationsMap
, emitter
:
Emitter
)
:
ConcreteMediator
Parameters
relations:
RelationsMap
emitter:
Emitter
Returns
ConcreteMediator
Properties
Private
colleagues
colleagues
:
ColleagueMap
Private
emitter
emitter
:
Emitter
Private
relations
relations
:
RelationsMap
Methods
check
Colleague
Exists
check
Colleague
Exists
(
colleague
:
Colleague
)
:
boolean
Parameters
colleague:
Colleague
Returns
boolean
emit
emit
(
colleague
:
Colleague
, event
:
string
,
...
args
:
any
[]
)
:
boolean
Parameters
colleague:
Colleague
event:
string
Rest
...
args:
any
[]
Returns
boolean
emit
Async
emit
Async
(
colleague
:
Colleague
, event
:
string
,
...
args
:
any
[]
)
:
Promise
<
any
>
Parameters
colleague:
Colleague
event:
string
Rest
...
args:
any
[]
Returns
Promise
<
any
>
emit
Event
Exists
emit
Event
Exists
(
colleague
:
Colleague
, event
:
string
)
:
boolean
Parameters
colleague:
Colleague
event:
string
Returns
boolean
Private
event
Exists
event
Exists
(
colleague
:
Colleague
, event
:
string
, prop
:
string
)
:
boolean
Parameters
colleague:
Colleague
event:
string
prop:
string
Returns
boolean
on
on
(
colleague
:
Colleague
, event
:
string
, cb
:
Listener
)
:
void
Parameters
colleague:
Colleague
event:
string
cb:
Listener
Returns
void
on
Event
Exists
on
Event
Exists
(
colleague
:
Colleague
, event
:
string
)
:
boolean
Parameters
colleague:
Colleague
event:
string
Returns
boolean
register
register
(
colleague
:
Colleague
)
:
void
Parameters
colleague:
Colleague
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
Mediator
constructor
colleagues
emitter
relations
check
Colleague
Exists
emit
emit
Async
emit
Event
Exists
event
Exists
on
on
Event
Exists
register
Generated using
TypeDoc