@dusrel/image API
Preparing search index...
frameworks/svelte/src
BatchProcessor
Interface BatchProcessor
The batch counterpart of
createProcessor
.
interface
BatchProcessor
{
abort
()
:
void
;
getState
()
:
BatchProcessorState
;
process
(
inputs
:
readonly
ImageInput
[]
,
options
?:
BatchOptions
,
)
:
Promise
<
BatchItemResult
[]
|
undefined
>
;
reset
()
:
void
;
subscribe
(
listener
:
()
=>
void
)
:
()
=>
void
;
}
Index
Methods
abort
get
State
process
reset
subscribe
Methods
abort
abort
()
:
void
Returns
void
get
State
getState
()
:
BatchProcessorState
Returns
BatchProcessorState
process
process
(
inputs
:
readonly
ImageInput
[]
,
options
?:
BatchOptions
,
)
:
Promise
<
BatchItemResult
[]
|
undefined
>
Parameters
inputs
:
readonly
ImageInput
[]
Optional
options
:
BatchOptions
Returns
Promise
<
BatchItemResult
[]
|
undefined
>
reset
reset
()
:
void
Returns
void
subscribe
subscribe
(
listener
:
()
=>
void
)
:
()
=>
void
Parameters
listener
:
()
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
abort
get
State
process
reset
subscribe
@dusrel/image API
Loading...
The batch counterpart of createProcessor.