Пример #1
0
        public async Task ParallelTasksExecuteInParallel()
        {
            var task = new ParallelTask(this.tasks);

            await task.ExecuteAsync(this.Context);

            Assert.True(this.maxExecuting > 1);
        }
Пример #2
0
        public async Task ParallelTasksExecuteInParallel()
        {
            var task = new ParallelTask(this.tasks);

            await task.ExecuteAsync(this.Context);

            Assert.True(this.maxExecuting > 1);
        }