Search
Preparing search index...
The search index is not available
storx
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Store"
StoRx
StoreImpl
Class StoreImpl<S>
Type parameters
S
Hierarchy
StoreImpl
Implements
StoreDispatcher
<
S
>
Index
Constructors
constructor
Properties
action
Subject
current
State
state
state
Subject
Methods
action
action
ByType
actions
dispatch
dispatch
With
Source
map
map
Function
observable
subscribe
subscribe
Event
subscribe
Reducer
subscribe
Reducer
Event
update
State
Constructors
constructor
new
Store
Impl
(
state
:
S
)
:
StoreImpl
Parameters
state:
S
Returns
StoreImpl
Properties
Private
action
Subject
action
Subject
:
Subject
<
Event
<
any
>
>
Private
current
State
current
State
:
S
Private
state
state
:
S
Private
state
Subject
state
Subject
:
Subject
<
S
>
Methods
action
action<A>
(
)
:
ActionManager
<
S
,
A
>
Type parameters
A
Returns
ActionManager
<
S
,
A
>
action
ByType
action
ByType<A>
(
type
:
object
)
:
ActionManager
<
S
,
A
>
Type parameters
A
Parameters
type:
object
Returns
ActionManager
<
S
,
A
>
actions
actions<A>
(
)
:
Observable
<
Event
<
A
>
>
Type parameters
A
Returns
Observable
<
Event
<
A
>
>
dispatch
dispatch<A>
(
action
:
A
)
:
void
Type parameters
A
Parameters
action:
A
Returns
void
dispatch
With
Source
dispatch
With
Source<A>
(
action
:
A
, source
:
string
)
:
void
Type parameters
A
Parameters
action:
A
source:
string
Returns
void
map
map<T>
(
path
:
string
)
:
Store
<
T
>
Type parameters
T
Parameters
path:
string
Returns
Store
<
T
>
map
Function
map
Function<T>
(
id
:
string
, map
:
function
, mapReverse
:
function
)
:
Store
<
T
>
Type parameters
T
Parameters
id:
string
map:
function
(
s
:
S
)
:
T
Parameters
s:
S
Returns
T
mapReverse:
function
(
state
:
T
, parentState
:
S
)
:
S
Parameters
state:
T
parentState:
S
Returns
S
Returns
Store
<
T
>
observable
observable
(
)
:
Observable
<
S
>
Returns
Observable
<
S
>
subscribe
subscribe<A>
(
actions
:
Observable
<
A
>
, reducer
:
function
)
:
void
Type parameters
A
Parameters
actions:
Observable
<
A
>
reducer:
function
(
s
:
S
, a
:
A
)
:
S
Parameters
s:
S
a:
A
Returns
S
Returns
void
subscribe
Event
subscribe
Event<A>
(
actions
:
Observable
<
Event
<
A
>
>
, reducer
:
function
)
:
void
Type parameters
A
Parameters
actions:
Observable
<
Event
<
A
>
>
reducer:
function
(
s
:
S
, a
:
A
)
:
S
Parameters
s:
S
a:
A
Returns
S
Returns
void
subscribe
Reducer
subscribe
Reducer<A>
(
actions
:
Observable
<
A
>
, reducer
:
Reducer
<
S
,
A
>
)
:
void
Type parameters
A
Parameters
actions:
Observable
<
A
>
reducer:
Reducer
<
S
,
A
>
Returns
void
subscribe
Reducer
Event
subscribe
Reducer
Event<A>
(
actions
:
Observable
<
Event
<
A
>
>
, reducer
:
Reducer
<
S
,
A
>
)
:
void
Type parameters
A
Parameters
actions:
Observable
<
Event
<
A
>
>
reducer:
Reducer
<
S
,
A
>
Returns
void
Protected
update
State
update
State
(
state
:
S
)
:
void
Parameters
state:
S
Returns
void
Globals
Action
Manager
Impl
Filter
Action
Manager
Reducer
Function
Store
Impl
constructor
action
Subject
current
State
state
state
Subject
action
action
ByType
actions
dispatch
dispatch
With
Source
map
map
Function
observable
subscribe
subscribe
Event
subscribe
Reducer
subscribe
Reducer
Event
update
State
Store
Utils
View
Reducer
View
Store
Action
Manager
Action
Manager
Dispatcher
Event
Reducer
Store
Store
Dispatcher
create
Store
Generated using
TypeDoc