power apps Concurrent call
Power Apps 所有实现都是前端js +HTML. 如果我们获取数据则会有以下的情况出现 https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-concurrent?WT.mc_id=BA-MVP-5003758
ClearCollect( Product, '[SalesLT].[Product]' ); ClearCollect( Customer, '[SalesLT].[Customer]' ); ClearCollect( SalesOrderDetail, '[SalesLT].[SalesOrderDetail]' ); ClearCollect( SalesOrderHeader, '[SalesLT].[SalesOrderHeader]' )
但是如果我们使用concurrent call, 则所有请求会并行触发
Concurrent( ClearCollect( Product, '[SalesLT].[Product]' ), ClearCollect( Customer, '[SalesLT].[Customer]' ), ClearCollect( SalesOrderDetail, '[SalesLT].[SalesOrderDetail]' ), ClearCollect( SalesOrderHeader, '[SalesLT].[SalesOrderHeader]' ) )