web-csv-toolbox - v0.14.0
    Preparing search index...

    Interface WorkerPresetOptions

    Options for worker-based engine presets. Used by presets that utilize web workers.

    interface WorkerPresetOptions {
        arrayBufferThreshold?: number;
        backpressureCheckInterval?: BackpressureCheckInterval;
        onFallback?: (info: EngineFallbackInfo) => void;
        queuingStrategy?: QueuingStrategyConfig;
        workerPool?: WorkerPool;
        workerURL?: string | URL;
    }

    Hierarchy

    • BasePresetOptions
      • WorkerPresetOptions
    Index

    Properties

    arrayBufferThreshold?: number

    Blob reading strategy threshold (in bytes). See EngineConfig.arrayBufferThreshold for details.

    1048576 (1MB)
    
    backpressureCheckInterval?: BackpressureCheckInterval

    Backpressure monitoring intervals. See EngineConfig.backpressureCheckInterval for details.

    { lexer: 100, assembler: 10 }
    @experimental
    onFallback?: (info: EngineFallbackInfo) => void

    Callback for fallback notifications. Called when the engine falls back to a less optimal strategy.

    queuingStrategy?: QueuingStrategyConfig

    Internal streaming queuing strategies. See EngineConfig.queuingStrategy for details.

    workerPool?: WorkerPool

    Worker pool for managing worker lifecycle. Reuse workers across multiple parse operations.

    workerURL?: string | URL

    Custom worker URL. Use a custom worker script instead of the bundled worker.