@dusrel/image API
    Preparing search index...

    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)

    Index
    abort: () => void
    completed: number

    Settled count so far (drives progress bars).

    error: unknown
    process: (
        inputs: readonly ImageInput[],
        options?: BatchOptions,
    ) => Promise<BatchItemResult[] | undefined>
    processing: boolean
    progress: number

    0..1 fraction settled (0 when total is 0).

    reset: () => void
    results: BatchItemResult[] | undefined
    total: number