_merge(queryResult) {
        let result = [];
        queryResult.map(res => {
            if (res.status === "fulfilled" && !(res.value === undefined)) {
                result = [...result, ...res.value];
            }
        });
        debug(`Total number of results returned for this query is ${result.length}`)
        this.logs.push(new LogEntry("DEBUG", null, `call-apis: Total number of results returned for this query is ${result.length}`).getLog());
        return result;
    }
/**
     * Merge the results into a single array from Promise.allSettled
     */
Merge the results into a single array from Promise.allSettled
Merge the results into a single array from Promise . allSettled
_merge(queryResult) {
        let result = [];
        queryResult.map(res => {
            if (res.status === "fulfilled" && !(res.value === undefined)) {
                result = [...result, ...res.value];
            }
        });
        debug(`Total number of results returned for this query is ${result.length}`)
        this.logs.push(new LogEntry("DEBUG", null, `call-apis: Total number of results returned for this query is ${result.length}`).getLog());
        return result;
    }
_merge ( queryResult ) { let result = [ ] ; queryResult . map ( res => { if ( res . status === "fulfilled" && ! ( res . value === undefined ) ) { result = [ ... result , ... res . value ] ; } } ) ; debug ( ` ${ result . length } ` ) this . logs . push ( new LogEntry ( "DEBUG" , null , ` ${ result . length } ` ) . getLog ( ) ) ; return result ; }
Merge the results into a single array from Promise.allSettled
Merge the results into a single array from Promise . allSettled