Lines Matching refs:asyncFunctions
1384 private calMaxHeight(asyncFunctions: unknown[]): number {
1386 asyncFunctions.forEach((it) => {
1436 let asyncFunctions: Array<unknown> = asyncFuncGroup[key]; variable
1437 if (asyncFunctions.length > 0) {
1442 asyncFunctions.forEach((it, i) => {
1456 isIntersect(depthArray[currentDepth], asyncFunctions[index])
1461 asyncFunctions[index].depth = currentDepth;
1463 depthArray[currentDepth] = asyncFunctions[index];
1466 this.toAsyncFuncCache(asyncFunctions[index], `${asyncFunctions[i].funName}-${it.pid}`);
1470 this.lanesConfig(asyncFunctions, it, processRow, `${asyncFunctions[0].funName}`);
1521 let asyncFunctions: Array<unknown> = asyncFuncGroup[key]; variable
1522 if (asyncFunctions.length > 1) {
1524 setArrayLenThanOne[key] = asyncFunctions;
1525 } else if (asyncFunctions.length === 1) {
1526 funcArr.push(...asyncFunctions);
1541 asyncFunctions: unknown[],
1551 if (asyncFunctions.length) {
1552 while (i < asyncFunctions.length) {
1553 let param = asyncFunctions[i];
1608 asyncFunctions: unknown[],
1613 const maxHeight = this.calMaxHeight(asyncFunctions);
1615 const namesSet = new Set(asyncFunctions.map((item) => item.funName));
1634 funcRow.supplier = (): Promise<unknown> => new Promise((resolve) => resolve(asyncFunctions));
1656 let asyncFunctions: Array<unknown> = asyncFuncGroup[key]; variable
1657 if (asyncFunctions.length > 0) {
1662 asyncFunctions.forEach((it, i) => {
1675 …rray[currentDepth] !== undefined && isIntersect(depthArray[currentDepth], asyncFunctions[index])) {
1678 asyncFunctions[index].depth = currentDepth;
1680 depthArray[currentDepth] = asyncFunctions[index];
1682 this.toAsyncFuncCache(asyncFunctions[index], `${asyncFunctions[0].threadName}`);
1684 const maxHeight = this.calMaxHeight(asyncFunctions);
1687 funcRow.rowId = `${asyncFunctions[0].threadName}`;
1689 funcRow.asyncFuncThreadName = asyncFunctions[0].threadName;
1700 funcRow.name = `${asyncFunctions[0].threadName}`;
1706 … funcRow.supplier = (): Promise<unknown> => new Promise((resolve) => resolve(asyncFunctions));
1711 type: `func-${asyncFunctions[0].threadName}-${it.pid}`,