@dusrel/image API
    Preparing search index...

    Interface WorkerPool<TIn, TOut>

    interface WorkerPool<TIn, TOut> {
        size: number;
        task: BatchTask<TIn, TOut>;
        terminate(): void;
    }

    Type Parameters

    • TIn
    • TOut
    Index
    size: number

    A BatchTask backed by the pool — pass it to runBatch or BatchQueue.

    • Returns void