Пример #1
0
        public async Task <long> GetAsyncTime()
        {
            var watch = Stopwatch.StartNew();
            await _asyncService.Wait();

            await _asyncService.Wait();

            watch.Stop();
            return(watch.ElapsedMilliseconds);
        }