Skip to main content

Class: DefaultService<S>

Type parameters

NameType
Sextends StateAnyState

Hierarchy

Implements

Indexable

[k: string]: any

Constructors

constructor

new DefaultService<S>()

Type parameters

NameType
Sextends StateAnyState

Properties

[combinedReducers]

[combinedReducers]: (state: any, action: any) => any

Type declaration

▸ (state, action): any

Parameters
NameType
stateany
actionany
Returns

any

Implementation of

Service.[combinedReducers]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:63


[dispatch]

[dispatch]: any

Implementation of

Service.[dispatch]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:62


[inReducer]

[inReducer]: boolean

Implementation of

Service.[inReducer]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:64


[reducers]

[reducers]: any

Implementation of

Service.[reducers]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:59


[sagas]

[sagas]: any

Implementation of

Service.[sagas]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:61


[types]

[types]: any

Implementation of

Service.[types]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:60


state

state: S

Implementation of

Service.state

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:66

Methods

[createReducer]

Private [createReducer](type, reducer): void

Parameters

NameType
typestring
reducerAnyFunction<void>

Returns

void

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:109


[createSaga]

Private [createSaga](type, saga): void

Parameters

NameType
typestring
sagaany

Returns

void

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:140


[create]

[create](initialState): void

Parameters

NameType
initialStateS

Returns

void

Implementation of

Service.[create]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:69


[run]

[run](): void

Returns

void

Implementation of

Service.[run]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:208


[stop]

[stop](): void

Returns

void

Implementation of

Service.[stop]

Defined in

onekijs/packages/onekijs-framework/src/core/Service.ts:226