transmute-framework
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Read
Model
constructor
interceptors
read
Model
Adapter
reducer
state
apply
Events
require
State
ToHave
Default
Properties
sync
Hierarchy
ReadModel
Implements
IReadModel
Index
Constructors
constructor
Properties
interceptors
read
Model
Adapter
reducer
state
Methods
apply
Events
require
State
ToHave
Default
Properties
sync
Constructors
constructor
new
Read
Model
(
readModelAdapter
:
IReadModelAdapter
, reducer
:
any
, state
:
IReadModelState
, interceptors
?:
any
)
:
ReadModel
Parameters
readModelAdapter:
IReadModelAdapter
reducer:
any
state:
IReadModelState
Optional
interceptors:
any
Returns
ReadModel
Properties
Optional
interceptors
interceptors
:
any
read
Model
Adapter
read
Model
Adapter
:
IReadModelAdapter
reducer
reducer
:
any
state
state
:
IReadModelState
Methods
apply
Events
apply
Events
(
events
:
IFSA
[]
)
:
void
Parameters
events:
IFSA
[]
Returns
void
require
State
ToHave
Default
Properties
require
State
ToHave
Default
Properties
(
state
:
IReadModelState
|
any
)
:
void
Parameters
state:
IReadModelState
|
any
Returns
void
sync
sync
(
store
:
EventStore
, eventStoreAdapter
:
EventStoreAdapter
, web3
:
W3
)
:
Promise
<
boolean
>
Parameters
store:
EventStore
eventStoreAdapter:
EventStoreAdapter
web3:
W3
Returns
Promise
<
boolean
>
Generated using
TypeDoc