Search
Preparing search index...
The search index is not available
@devowl-wp/utils
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"wordpress-plugins/real-cookie-banner/src/public/ts/hooks/useScannerProgress"
Module "wordpress-plugins/real-cookie-banner/src/public/ts/hooks/useScannerProgress"
Index
Type aliases
Use
Progress
Parameters
Functions
use
Scanner
Progress
Type aliases
Use
Progress
Parameters
Use
Progress
Parameters
:
Parameters
<
typeof
useProgress
>
[
0
]
Functions
use
Scanner
Progress
use
Scanner
Progress
(
fetchStatusInterval
?:
UseProgressParameters
[
"fetchStatusInterval"
]
, fetchAdditionalData
?:
false
|
"rcb-scan-list"
|
"rcb-scan-notice"
, onCancel
?:
UseProgressParameters
[
"onCancel"
]
)
:
{
cancelling
:
boolean
;
currentJob
:
Job
<
JobData
>
;
errors
:
{
actions
:
Array
<
{
action
?:
"delete"
|
"retry"
|
"skip"
;
linkText
:
string
;
target
?:
string
;
url
:
string
}
>
;
description
:
string
;
failedJobs
:
Job
[]
;
label
:
string
;
type
:
string
}
;
failure
:
number
;
handleCancel
:
(Anonymous function)
;
jobsStarted
:
boolean
;
paused
:
number
;
percent
:
number
;
remaining
:
number
;
status
:
"done"
|
"not-started"
|
"failed"
;
total
:
number
}
Returns the status / progress of the scanner.
Parameters
Optional
fetchStatusInterval:
UseProgressParameters
[
"fetchStatusInterval"
]
Default value
fetchAdditionalData:
false
|
"rcb-scan-list"
|
"rcb-scan-notice"
= false
Optional
onCancel:
UseProgressParameters
[
"onCancel"
]
Returns
{
cancelling
:
boolean
;
currentJob
:
Job
<
JobData
>
;
errors
:
{
actions
:
Array
<
{
action
?:
"delete"
|
"retry"
|
"skip"
;
linkText
:
string
;
target
?:
string
;
url
:
string
}
>
;
description
:
string
;
failedJobs
:
Job
[]
;
label
:
string
;
type
:
string
}
;
failure
:
number
;
handleCancel
:
(Anonymous function)
;
jobsStarted
:
boolean
;
paused
:
number
;
percent
:
number
;
remaining
:
number
;
status
:
"done"
|
"not-started"
|
"failed"
;
total
:
number
}
cancelling
:
boolean
current
Job
:
Job
<
JobData
>
errors
:
{
actions
:
Array
<
{
action
?:
"delete"
|
"retry"
|
"skip"
;
linkText
:
string
;
target
?:
string
;
url
:
string
}
>
;
description
:
string
;
failedJobs
:
Job
[]
;
label
:
string
;
type
:
string
}
actions
:
Array
<
{
action
?:
"delete"
|
"retry"
|
"skip"
;
linkText
:
string
;
target
?:
string
;
url
:
string
}
>
description
:
string
failed
Jobs
:
Job
[]
label
:
string
type
:
string
failure
:
number
handle
Cancel
:
(Anonymous function)
jobs
Started
:
boolean
paused
:
number
percent
:
number
remaining
:
number
status
:
"done"
|
"not-started"
|
"failed"
total
:
number
Globals
"wordpress-
plugins/real-
cookie-
banner/src/public/ts/hooks/use
Scanner
Progress"
Use
Progress
Parameters
use
Scanner
Progress
Generated using
TypeDoc
Returns the status / progress of the scanner.