polarity-integration-utils
    Preparing search index...

    Type Alias RunInParallelOptions

    type RunInParallelOptions = {
        allRequestOptions: HttpRequestOptions[];
        maxConcurrentRequests?: number;
        returnErrors?: boolean;
    }
    Index

    Properties

    allRequestOptions: HttpRequestOptions[]

    Array of HttpRequestOptions that will be run in parallel as specified by the maxConcurrentRequests property.

    maxConcurrentRequests?: number

    Maximum number of requests to run in parallel

    5
    
    returnErrors?: boolean

    If true, any errors thrown during the request will be returned in the response object on the error property of the returned HttpRequestResponse object. If false, any errors thrown will be thrown and should be handled by

    false