@musallam/storage-and-collaboration-client
    Preparing search index...

    Interface PollStorageJobOptions

    Polling utilities for async Storage and Collaboration jobs

    interface PollStorageJobOptions {
        axiosRequestConfig?: AxiosRequestConfig<any>;
        intervalMs?: number;
        maxAttempts?: number;
        onProgress?: (status: JobStatus) => void;
        timeoutMs?: number;
    }
    Index

    Properties

    axiosRequestConfig?: AxiosRequestConfig<any>

    Authentication and other fetch options

    intervalMs?: number

    Interval between polling attempts in milliseconds

    2000
    
    maxAttempts?: number

    Maximum number of polling attempts

    60
    
    onProgress?: (status: JobStatus) => void

    Callback for progress updates

    timeoutMs?: number

    Custom timeout in milliseconds (overrides maxAttempts)