Lines Matching refs:asyncFunctions
1558 private calMaxHeight(asyncFunctions: unknown[]): number {
1560 asyncFunctions.forEach((it) => {
1621 let asyncFunctions: Array<unknown> = asyncFuncGroup[key]; variable
1622 if (asyncFunctions.length > 0) {
1627 asyncFunctions.forEach((it, i) => {
1641 isIntersect(depthArray[currentDepth], asyncFunctions[index])
1646 asyncFunctions[index].depth = currentDepth;
1648 depthArray[currentDepth] = asyncFunctions[index];
1651 this.toAsyncFuncCache(asyncFunctions[index], `${asyncFunctions[i].funName}-${it.pid}`);
1655 this.lanesConfig(asyncFunctions, it, processRow, `${asyncFunctions[0].funName}`);
1706 let asyncFunctions: Array<unknown> = asyncFuncGroup[key]; variable
1707 if (asyncFunctions.length > 1) {
1709 setArrayLenThanOne[key] = asyncFunctions;
1710 } else if (asyncFunctions.length === 1) {
1711 funcArr.push(...asyncFunctions);
1726 asyncFunctions: unknown[],
1737 if (asyncFunctions.length) {
1738 while (i < asyncFunctions.length) {
1739 let param = asyncFunctions[i];
1794 asyncFunctions: unknown[],
1800 const maxHeight = this.calMaxHeight(asyncFunctions);
1802 const namesSet = new Set(asyncFunctions.map((item) => item.funName));
1822 funcRow.supplier = (): Promise<unknown> => new Promise((resolve) => resolve(asyncFunctions));
1844 let asyncFunctions: Array<unknown> = asyncFuncGroup[key]; variable
1845 if (asyncFunctions.length > 0) {
1850 asyncFunctions.forEach((it, i) => {
1863 …rray[currentDepth] !== undefined && isIntersect(depthArray[currentDepth], asyncFunctions[index])) {
1866 asyncFunctions[index].depth = currentDepth;
1868 depthArray[currentDepth] = asyncFunctions[index];
1870 this.toAsyncFuncCache(asyncFunctions[index], `${asyncFunctions[0].threadName}`);
1872 const maxHeight = this.calMaxHeight(asyncFunctions);
1875 funcRow.rowId = `${asyncFunctions[0].threadName}`;
1877 funcRow.asyncFuncThreadName = asyncFunctions[0].threadName;
1888 funcRow.name = `${asyncFunctions[0].threadName}`;
1894 … funcRow.supplier = (): Promise<unknown> => new Promise((resolve) => resolve(asyncFunctions));
1899 type: `func-${asyncFunctions[0].threadName}-${it.pid}`,