Class: DefaultService<S>
Type parameters
Name | Type |
---|---|
S | extends State AnyState |
Hierarchy
DefaultService
Implements
Indexable
▪ [k: string
]: any
Constructors
constructor
• new DefaultService<S
>()
Type parameters
Name | Type |
---|---|
S | extends State AnyState |
Properties
[combinedReducers]
• [combinedReducers]: (state
: any
, action
: any
) => any
Type declaration
▸ (state
, action
): any
Parameters
Name | Type |
---|---|
state | any |
action | any |
Returns
any
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:63
[dispatch]
• [dispatch]: any
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:62
[inReducer]
• [inReducer]: boolean
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:64
[reducers]
• [reducers]: any
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:59
[sagas]
• [sagas]: any
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:61
[types]
• [types]: any
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:60
state
• state: S
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:66
Methods
[createReducer]
▸ Private
[createReducer](type
, reducer
): void
Parameters
Name | Type |
---|---|
type | string |
reducer | AnyFunction <void > |
Returns
void
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:109
[createSaga]
▸ Private
[createSaga](type
, saga
): void
Parameters
Name | Type |
---|---|
type | string |
saga | any |
Returns
void
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:140
[create]
▸ [create](initialState
): void
Parameters
Name | Type |
---|---|
initialState | S |
Returns
void
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:69
[run]
▸ [run](): void
Returns
void
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:208
[stop]
▸ [stop](): void
Returns
void
Implementation of
Defined in
onekijs/packages/onekijs-framework/src/core/Service.ts:226