Example #1
0
        private async Task AsyncTask()
        {
            try
            {
                var data = await ExposeProxy.ProcessAsync(RequestList);

                PopulateResponses(data);
            }
            catch (Exception ex) { exception = ex; OnResponseReady(); }
        }
Example #2
0
        /// <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);
        }