title: Polling in C# using async await
body: <p>Here is my scenario:
  We have a library which has a &quot;MethodA&quot; in a class which makes a http call using C# HttpClient and retrieves all notification which are in the queue. We are using .NET Core 3.1. I want to add another class in the same library which will call this &quot;MethodA&quot; on a scheduled interval. I have used Task.Run and Task.Delay to achieve this in my test app and it works. Only thing is this is an I/O bound call and not CPU bound operation and it is recommended by Stephen Cleary to avoid using Task.Run on I/O bound calls <a href="https://blog.stephencleary.com/2013/10/taskrun-etiquette-and-proper-usage.html" rel="nofollow noreferrer">here</a>.
  How can I achieve this?</p>
  <p>Thanks,
  Sal</p>