private async Task AsyncTask() { try { var data = await ExposeProxy.ProcessAsync(RequestList); PopulateResponses(data); } catch (Exception ex) { exception = ex; OnResponseReady(); } }
/// <summary> /// ProcessRequests processes all registered requests. The responses will be returned synchronously. /// </summary> public async Task ProcessRequestsAsync() { var responses = ExposeProxy.ProcessAsync(RequestList); PopulateResponses(await responses); }