Raft Consensus Algorithm
Preparing search index...
@maboke123/raft-core
RaftEventBus
Interface RaftEventBus
Event bus abstraction for publishing and subscribing to Raft runtime events.
interface
RaftEventBus
{
emit
(
event
:
RaftEvent
)
:
void
;
subscribe
(
handler
:
(
event
:
RaftEvent
)
=>
void
)
:
()
=>
void
;
}
Implemented by
LocalEventBus
NoOpEventBus
Index
Methods
emit
subscribe
Methods
emit
emit
(
event
:
RaftEvent
)
:
void
Parameters
event
:
RaftEvent
Returns
void
subscribe
subscribe
(
handler
:
(
event
:
RaftEvent
)
=>
void
)
:
()
=>
void
Parameters
handler
:
(
event
:
RaftEvent
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
emit
subscribe
Raft Consensus Algorithm
Loading...
Event bus abstraction for publishing and subscribing to Raft runtime events.