Raft Consensus Algorithm
Preparing search index...
@maboke123/raft-core
EventStore
Class EventStore
Index
Constructors
constructor
Methods
get
All
Events
get
Size
on
Live
Event
Constructors
constructor
new
EventStore
(
bus
:
RaftEventBus
,
options
:
EventStoreOptions
)
:
EventStore
Parameters
bus
:
RaftEventBus
options
:
EventStoreOptions
Returns
EventStore
Methods
get
All
Events
getAllEvents
()
:
RaftEvent
[]
Returns
RaftEvent
[]
get
Size
getSize
()
:
number
Returns
number
on
Live
Event
onLiveEvent
(
subscriber
:
(
event
:
RaftEvent
)
=>
void
)
:
()
=>
void
Parameters
subscriber
:
(
event
:
RaftEvent
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
All
Events
get
Size
on
Live
Event
Raft Consensus Algorithm
Loading...