Skip to main content

Class: DefaultGlobalService<S>

Type parameters

NameType
Sextends StateAnyState

Hierarchy

Implements

Constructors

constructor

new DefaultGlobalService<S>()

Type parameters

NameType
Sextends StateAnyState

Inherited from

DefaultAppService.constructor

Properties

[combinedReducers]

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

Type declaration

▸ (state, action): any

Parameters
NameType
stateany
actionany
Returns

any

Implementation of

GlobalService.[combinedReducers]

Inherited from

DefaultAppService.[combinedReducers]

Defined in

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


[dispatch]

[dispatch]: any

Implementation of

GlobalService.[dispatch]

Inherited from

DefaultAppService.[dispatch]

Defined in

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


[inReducer]

[inReducer]: boolean

Implementation of

GlobalService.[inReducer]

Inherited from

DefaultAppService.[inReducer]

Defined in

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


[reducers]

[reducers]: any

Implementation of

GlobalService.[reducers]

Inherited from

DefaultAppService.[reducers]

Defined in

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


[sagas]

[sagas]: any

Implementation of

GlobalService.[sagas]

Inherited from

DefaultAppService.[sagas]

Defined in

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


[types]

[types]: any

Implementation of

GlobalService.[types]

Inherited from

DefaultAppService.[types]

Defined in

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


context

context: AppContext

Implementation of

GlobalService.context

Inherited from

DefaultAppService.context

Defined in

onekijs/packages/onekijs-framework/src/app/AppService.ts:8


state

state: S

Implementation of

GlobalService.state

Inherited from

DefaultAppService.state

Defined in

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

Methods

[create]

[create](initialState): void

Parameters

NameType
initialStateS

Returns

void

Implementation of

GlobalService.[create]

Inherited from

DefaultAppService.[create]

Defined in

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


[run]

[run](): void

Returns

void

Implementation of

GlobalService.[run]

Overrides

DefaultAppService.[run]

Defined in

onekijs/packages/onekijs-framework/src/app/GlobalService.ts:7


[stop]

[stop](): void

Returns

void

Implementation of

GlobalService.[stop]

Overrides

DefaultAppService.[stop]

Defined in

onekijs/packages/onekijs-framework/src/app/GlobalService.ts:15