System.Timers.Timer Elapsed intermittently not firing when using an Task.Run with async from Console App
问题 I am using a console application and I have batches of 20 URIs that I need to read from and I have found a massive speed boost by making all tasks and running them in parallel then sorting the results on completion in a different thread (allowing the next batch to be fetched). In the calls I am currently using, each thread blocks when it gets the response stream, I also see there is a async version of the same method GetResponseAsync . I understand there are benefits of freeing up the thread