@dusrel/image API
Preparing search index...
features/batch/src
WorkerPool
Interface WorkerPool<TIn, TOut>
interface
WorkerPool
<
TIn
,
TOut
>
{
size
:
number
;
task
:
BatchTask
<
TIn
,
TOut
>
;
terminate
()
:
void
;
}
Type Parameters
TIn
TOut
Index
Properties
size
task
Methods
terminate
Properties
Readonly
size
size
:
number
task
task
:
BatchTask
<
TIn
,
TOut
>
A BatchTask backed by the pool — pass it to runBatch or BatchQueue.
Methods
terminate
terminate
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
size
task
Methods
terminate
@dusrel/image API
Loading...
A BatchTask backed by the pool — pass it to runBatch or BatchQueue.