Preparing search index...
The search index is not available
@rxfx/service
@rxfx/service
ServiceReducer
Interface ServiceReducer<TRequest, TNext, TError, TState>
The interface for a reducer with an optional getInitialState synchronous property.
interface
ServiceReducer
<
TRequest
,
TNext
,
TError
,
TState
>
{
getInitialState
?:
(
(
)
=>
TState
)
;
(
state
,
action
)
:
TState
;
}
Type Parameters
TRequest
TNext
=
void
TError
=
Error
TState
=
{}
Service
Reducer
(
state
,
action
)
:
TState
Parameters
state
:
TState
action
:
Action
<
void
|
TRequest
|
TNext
|
TError
>
Returns
TState
Index
Properties
get
Initial
State?
Properties
Optional
get
Initial
State
get
Initial
State
?:
(
(
)
=>
TState
)
Type declaration
(
)
:
TState
Returns
TState
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
get
Initial
State
@rxfx/service
Loading...
The interface for a reducer with an optional getInitialState synchronous property.