@dusrel/image API
Preparing search index...
frameworks/react/src
UseProcessBatch
Interface UseProcessBatch
interface
UseProcessBatch
{
abort
:
()
=>
void
;
completed
:
number
;
error
:
unknown
;
process
:
(
inputs
:
readonly
ImageInput
[]
,
options
?:
BatchOptions
,
)
=>
Promise
<
BatchItemResult
[]
|
undefined
>
;
processing
:
boolean
;
progress
:
number
;
reset
:
()
=>
void
;
results
:
BatchItemResult
[]
|
undefined
;
status
:
ProcessorStatus
;
total
:
number
;
}
Hierarchy (
View Summary
)
BatchProcessorState
UseProcessBatch
Index
Properties
abort
completed
error
process
processing
progress
reset
results
status
total
Properties
abort
abort
:
()
=>
void
completed
completed
:
number
Settled count so far (drives progress bars).
error
error
:
unknown
process
process
:
(
inputs
:
readonly
ImageInput
[]
,
options
?:
BatchOptions
,
)
=>
Promise
<
BatchItemResult
[]
|
undefined
>
processing
processing
:
boolean
progress
progress
:
number
0..1 fraction settled (0 when total is 0).
reset
reset
:
()
=>
void
results
results
:
BatchItemResult
[]
|
undefined
status
status
:
ProcessorStatus
total
total
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
abort
completed
error
process
processing
progress
reset
results
status
total
@dusrel/image API
Loading...
Settled count so far (drives progress bars).