Skip to main content

Class: AsyncBindService<T>

Type parameters

Name
T

Hierarchy

Constructors

constructor

new AsyncBindService<T>()

Type parameters

Name
T

Inherited from

DefaultService.constructor

Properties

[combinedReducers]

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

Type declaration

▸ (state, action): any

Parameters
NameType
stateany
actionany
Returns

any

Inherited from

DefaultService.[combinedReducers]

Defined in

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


[dispatch]

[dispatch]: any

Inherited from

DefaultService.[dispatch]

Defined in

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


[inReducer]

[inReducer]: boolean

Inherited from

DefaultService.[inReducer]

Defined in

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


[reducers]

[reducers]: any

Inherited from

DefaultService.[reducers]

Defined in

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


[sagas]

[sagas]: any

Inherited from

DefaultService.[sagas]

Defined in

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


[types]

[types]: any

Inherited from

DefaultService.[types]

Defined in

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


state

state: AsyncBindState

Inherited from

DefaultService.state

Defined in

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

Methods

[create]

[create](initialState): void

Parameters

NameType
initialStateAsyncBindState

Returns

void

Inherited from

DefaultService.[create]

Defined in

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


[run]

[run](): void

Returns

void

Inherited from

DefaultService.[run]

Defined in

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


[stop]

[stop](): void

Returns

void

Inherited from

DefaultService.[stop]

Defined in

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


error

error(error): void

Parameters

NameType
errorError

Returns

void

Defined in

onekijs/packages/onekijs-framework/src/form/AsyncBindService.ts:24


execute

execute(asyncMethod, dependencies): Generator<void | Generator<void | ForkEffect<SagaReturnType<AnyFunction<T>>>, Task, Task>, void, Task>

Parameters

NameType
asyncMethodAnyFunction<T>
dependenciesany[]

Returns

Generator<void | Generator<void | ForkEffect<SagaReturnType<AnyFunction<T>>>, Task, Task>, void, Task>

Defined in

onekijs/packages/onekijs-framework/src/form/AsyncBindService.ts:31


forkAsyncBind

forkAsyncBind(asyncMethod, dependencies): Generator<void | ForkEffect<SagaReturnType<AnyFunction<T>>>, Task, Task>

Parameters

NameType
asyncMethodAnyFunction<T>
dependenciesany[]

Returns

Generator<void | ForkEffect<SagaReturnType<AnyFunction<T>>>, Task, Task>

Defined in

onekijs/packages/onekijs-framework/src/form/AsyncBindService.ts:46


setLoading

setLoading(isLoading): void

Parameters

NameType
isLoadingboolean

Returns

void

Defined in

onekijs/packages/onekijs-framework/src/form/AsyncBindService.ts:12


success

success(result): void

Parameters

NameType
resultT

Returns

void

Defined in

onekijs/packages/onekijs-framework/src/form/AsyncBindService.ts:17