Skip to content

Commit 63a6e9c

Browse files
authored
tweaked Concurrent topic
1 parent 6f628ff commit 63a6e9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

powerapps-docs/maker/canvas-apps/functions/function-concurrent.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Evaluates multiple formulas concurrently with one another.
1818
## Description
1919
The **Concurrent** function evaluates multiple formulas at the same time. Normally, multiple formulas are evaluated by chaining them together with the [**;**](operators.md) (or [**;;**](operators.md)) operator, which evaluates each sequentially in order. When the app performs operations concurrently, users wait less for the same result.
2020

21-
In the [**OnStart**](../controls/control-screen.md) property of your app, use **Concurrent** to improve performance when the app loads data. When data calls don't start until the previous calls finish, the app must wait for the sum of all request times. If data calls start at the same time, the app only needs to wait for the longest request time. Web browsers often improve performance by performing data operations concurrently.
21+
In the [**OnStart**](../controls/control-screen.md) property of your app, use **Concurrent** to improve performance when the app loads data. When data calls don't start until the previous calls finish, the app must wait for the sum of all request times. If data calls start at the same time, the app needs to wait only for the longest request time. Web browsers often improve performance by performing data operations concurrently.
2222

2323
You can't predict the order in which formulas within the **Concurrent** function start and end evaluation. Formulas within the **Concurrent** function shouldn't contain dependencies on other formulas within the same **Concurrent** function, and PowerApps shows an error if you try. From within, you can safely take dependencies on formulas outside the **Concurrent** function because they will complete before the **Concurrent** function starts. Formulas after the **Concurrent** function can safely take dependencies on formulas within: they'll all complete before the **Concurrent** function finishes and moves on to the next formula in a chain (if you use the **;** or **;;** operator). Watch out for subtle order dependencies if you're calling functions or service methods that have side effects.
2424

@@ -52,7 +52,7 @@ You can use **Concurrent** only in [behavior formulas](../working-with-formulas-
5252
ClearCollect( SalesOrderDetail, '[SalesLT].[SalesOrderDetail]' );<br>
5353
ClearCollect( SalesOrderHeader, '[SalesLT].[SalesOrderHeader]' )**
5454

55-
3. In [Microsoft Edge](https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide/network) or [Google Chrome](https://developers.google.com/web/tools/chrome-devtools/network-performance/), turn on developer tools to monitor network traffic while your app is running.
55+
3. In [Microsoft Edge](https://docs.microsoft.com/microsoft-edge/devtools-guide/network) or [Google Chrome](https://developers.google.com/web/tools/chrome-devtools/network-performance/), turn on developer tools to monitor network traffic while your app is running.
5656

5757
1. (optional) Turn on network throttling to exaggerate the effects of this comparison.
5858

@@ -83,7 +83,7 @@ You can use **Concurrent** only in [behavior formulas](../working-with-formulas-
8383

8484
3. While holding down the Alt key, select the second button, and then watch the network traffic.
8585

86-
The tools show four requests performed concurrently, similar to this example. Again, actual times have been removed as they will vary wildly. The graph shows that all the calls start at about the same time and do not wait for the previous to finish:
86+
The tools show four requests performed concurrently, similar to this example. Again, actual times have been removed as they will vary wildly. The graph shows that all the calls start at about the same time and do not wait for the previous one to finish:
8787

8888
![Time graph of four network requests, all four starting together, covering about half of the span of time](media/function-concurrent/concurrent-network.png)
8989

0 commit comments

Comments
 (0)