Search
Preparing search index...
The search index is not available
ceb
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
ceb
@tmorin/ceb-messaging-adapter-electron
IpcMainEventBus
Class IpcMainEventBus
Hierarchy
IpcMainEventBus
Implements
EventBus
Index
Constructors
constructor
Accessors
observer
Methods
dispose
publish
subscribe
Constructors
constructor
new
Ipc
Main
Event
Bus
(
ipcMain
:
IpcMain
, bus
:
EventBus
, emitter
:
IpcEmitterEventBus
)
:
IpcMainEventBus
Parameters
ipcMain:
IpcMain
bus:
EventBus
emitter:
IpcEmitterEventBus
Returns
IpcMainEventBus
Accessors
observer
get
observer
(
)
:
IpcObservableEventBus
Returns
IpcObservableEventBus
Methods
dispose
dispose
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
publish
publish
<
E
>
(
...
events
:
E
[]
)
:
void
Type parameters
E
:
Event
<
any
,
MessageHeaders
,
E
>
=
Event
<
any
,
MessageHeaders
>
Parameters
Rest
...
events:
E
[]
Returns
void
subscribe
subscribe
<
E
>
(
eventType
:
string
, listener
:
EventListener
<
E
>
, options
?:
Partial
<
SubscribeOptions
>
)
:
Removable
Type parameters
E
:
Event
<
any
,
MessageHeaders
,
E
>
=
Event
<
any
,
MessageHeaders
>
Parameters
eventType:
string
listener:
EventListener
<
E
>
Optional
options:
Partial
<
SubscribeOptions
>
Returns
Removable
Modules
@tmorin/ceb-
bundle-
web
@tmorin/ceb-
elements-
builders
@tmorin/ceb-
elements-
core
@tmorin/ceb-
elements-
testing
@tmorin/ceb-
inversion-
builder
@tmorin/ceb-
inversion-
core
@tmorin/ceb-
inversion-
testing-
core
@tmorin/ceb-
inversion-
testing-
jest
@tmorin/ceb-
inversion-
testing-
mocha
@tmorin/ceb-
messaging-
adapter-
dom
@tmorin/ceb-
messaging-
adapter-
electron
@tmorin/ceb-
messaging-
adapter-
purify
@tmorin/ceb-
messaging-
builder-
core
@tmorin/ceb-
messaging-
builder-
inversion
@tmorin/ceb-
messaging-
core
@tmorin/ceb-
messaging-
inversion
@tmorin/ceb-
messaging-
moleculer
@tmorin/ceb-
messaging-
moleculer-
inversion
@tmorin/ceb-
messaging-
simple
@tmorin/ceb-
messaging-
simple-
builder
@tmorin/ceb-
messaging-
simple-
inversion
@tmorin/ceb-
messaging-
testing
@tmorin/ceb-
templating-
builder
@tmorin/ceb-
templating-
engine
@tmorin/ceb-
templating-
literal
@tmorin/ceb-
templating-
parser
@tmorin/ceb-
utilities
Ipc
Main
Event
Bus
constructor
observer
dispose
publish
subscribe
Generated using
TypeDoc