Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProcessData<S, A, EA>

Describes current status of data processing.

Type parameters

  • S = unknown

  • A = unknown

  • EA = A

Hierarchy

Index

Properties

action

action: A | A[] | EA | EA[]

Current action that is processed.

actionIndex

actionIndex: number

Index of current action.

data

data: unknown

Supplementary data (value of settings.data).

firstAction

firstAction: boolean

Whether current action is the first action in processing.

history

history: Array<HistoryItem<S, A, EA>> | null

List of fulfilled operations (processed actions).

lastAction

lastAction: boolean

Whether current action is the last action in processing.

reducedState

reducedState: S

State after source (wrapped) reducer is applied for the current action.

settings

settings: ExtraduceSettings<S, A, EA>

Settings that have used to define features of processing.

sourceAction

sourceAction: EA | EA[]

Source action that is passed in reducer, or list of actions to be processed.

sourceReducer

sourceReducer: Reducer<S, A>

Source (wrapped) reducer.

sourceState

sourceState: S

Source state that is passed in reducer.

startState

startState: S

State before source (wrapped) reducer is applied for the current action.

state

state: S

Current state.

step

Current processing step.

stepEnd

stepEnd: boolean

true, when current step is ending.

stepSet

stepSet: typeof ProcessStep

Enumeration of possible values of processing step.

stepStart

stepStart: boolean

true, when current step is starting.

validAction

validAction: boolean

Whether current action is valid and should be passed for reducing.

Generated using TypeDoc