Search
Preparing search index...
The search index is not available
DCKit
@dckit/store
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"processes/selectors"
External module "processes/selectors"
Index
Type aliases
get
Process
get
Process
Response
get
Process
State
get
Process
Status
Variables
_get
Process
State
get
Process
get
Process
Response
get
Process
State
is
Process
Failed
is
Process
Finished
is
Process
Running
is
Process
Succeed
Type aliases
get
Process
get
Process
:
function
Type declaration
(
state
:
IState
, itemType
:
string
, process
:
string
)
:
IProcess
Parameters
state:
IState
itemType:
string
process:
string
Returns
IProcess
get
Process
Response
get
Process
Response
:
function
Type declaration
(
state
:
IState
, itemType
:
string
, process
:
string
)
:
any
Parameters
state:
IState
itemType:
string
process:
string
Returns
any
get
Process
State
get
Process
State
:
function
Type declaration
(
state
:
IState
, itemType
:
string
)
:
any
Parameters
state:
IState
itemType:
string
Returns
any
get
Process
Status
get
Process
Status
:
function
Type declaration
(
state
:
IState
, itemType
:
string
, process
:
string
)
:
boolean
Parameters
state:
IState
itemType:
string
process:
string
Returns
boolean
Variables
Const
_get
Process
State
_get
Process
State
:
any
= getDckState('processes')
Const
get
Process
get
Process
:
getProcess
= createSelector([getProcessState, get3rdParam],(processState, act) => processState[act])
Const
get
Process
Response
get
Process
Response
:
getProcessResponse
= createSelector(getProcess,(process: IProcess) => process?.response)
Const
get
Process
State
get
Process
State
:
getProcessState
= createSelector(_getProcessState,processState => processState)
Const
is
Process
Failed
is
Process
Failed
:
getProcessStatus
= createSelector(isProcessSucceed,success => !success)
Const
is
Process
Finished
is
Process
Finished
:
getProcessStatus
= createSelector(getProcess,(process: IProcess) => Boolean(process?.finished))
Const
is
Process
Running
is
Process
Running
:
getProcessStatus
= createSelector(getProcess,(process: IProcess) => Boolean(process?.running))
Const
is
Process
Succeed
is
Process
Succeed
:
getProcessStatus
= createSelector([getProcess, isProcessRunning, isProcessFinished],(process: IProcess, running, finished) =>finished && !running && !process?.error)
Globals
"processes/selectors"
get
Process
get
Process
Response
get
Process
State
get
Process
Status
_get
Process
State
get
Process
get
Process
Response
get
Process
State
is
Process
Failed
is
Process
Finished
is
Process
Running
is
Process
Succeed
Made by
Horyus
. Documentation generated by
TypeDoc.