Skip to main content

Class: GlobalStateService

Hierarchy

Constructors

constructor

new GlobalStateService()

Inherited from

DefaultGlobalService.constructor

Properties

[combinedReducers]

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

Type declaration

▸ (state, action): any

Parameters
NameType
stateany
actionany
Returns

any

Inherited from

DefaultGlobalService.[combinedReducers]

Defined in

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


[dispatch]

[dispatch]: any

Inherited from

DefaultGlobalService.[dispatch]

Defined in

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


[inReducer]

[inReducer]: boolean

Inherited from

DefaultGlobalService.[inReducer]

Defined in

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


[reducers]

[reducers]: any

Inherited from

DefaultGlobalService.[reducers]

Defined in

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


[sagas]

[sagas]: any

Inherited from

DefaultGlobalService.[sagas]

Defined in

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


[types]

[types]: any

Inherited from

DefaultGlobalService.[types]

Defined in

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


context

context: AppContext

Inherited from

DefaultGlobalService.context

Defined in

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


state

state: AnyState

Inherited from

DefaultGlobalService.state

Defined in

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

Methods

[create]

[create](initialState): void

Parameters

NameType
initialStateAnyState

Returns

void

Inherited from

DefaultGlobalService.[create]

Defined in

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


[run]

[run](): void

Returns

void

Inherited from

DefaultGlobalService.[run]

Defined in

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


[stop]

[stop](): void

Returns

void

Inherited from

DefaultGlobalService.[stop]

Defined in

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


setState

setState(key, value): void

Parameters

NameType
keystring
valueany

Returns

void

Defined in

onekijs/packages/onekijs-framework/src/app/GlobalStateService.ts:9