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
IpcRendererCommandBus
Class IpcRendererCommandBus
Hierarchy
IpcRendererCommandBus
Implements
CommandBus
Disposable
Index
Constructors
constructor
Accessors
observer
Methods
dispose
execute
execute
And
Forget
handle
Constructors
constructor
new
Ipc
Renderer
Command
Bus
(
ipcRenderer
:
IpcRenderer
, bus
:
CommandBus
, emitter
:
IpcEmitterCommandBus
)
:
IpcRendererCommandBus
Parameters
ipcRenderer:
IpcRenderer
bus:
CommandBus
emitter:
IpcEmitterCommandBus
Returns
IpcRendererCommandBus
Accessors
observer
get
observer
(
)
:
IpcObservableCommandBus
Returns
IpcObservableCommandBus
Methods
dispose
dispose
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
execute
execute
<
R
,
C
>
(
command
:
C
, options
?:
Partial
<
ExecuteActionOptions
>
)
:
Promise
<
R
>
Type parameters
R
:
Result
<
any
,
ResultHeaders
,
R
>
=
Result
<
any
,
ResultHeaders
>
C
:
Command
<
any
,
MessageHeaders
,
C
>
=
Command
<
any
,
MessageHeaders
>
Parameters
command:
C
Optional
options:
Partial
<
ExecuteActionOptions
>
Returns
Promise
<
R
>
execute
And
Forget
execute
And
Forget
<
C
>
(
command
:
C
)
:
void
Type parameters
C
:
Command
<
any
,
MessageHeaders
,
C
>
=
Command
<
any
,
MessageHeaders
>
Parameters
command:
C
Returns
void
handle
handle
<
C
,
R
,
Es
>
(
commandType
:
string
, handler
:
CommandHandler
<
C
,
R
,
Es
>
)
:
Removable
Type parameters
C
:
Command
<
any
,
MessageHeaders
,
C
>
=
Command
<
any
,
MessageHeaders
>
R
:
Result
<
any
,
ResultHeaders
,
R
>
=
Result
<
any
,
ResultHeaders
>
Es
:
Event
<
any
,
MessageHeaders
>
[]
=
[
]
Parameters
commandType:
string
handler:
CommandHandler
<
C
,
R
,
Es
>
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
Renderer
Command
Bus
constructor
observer
dispose
execute
execute
And
Forget
handle
Generated using
TypeDoc