There are scenarios where you want to have data requests be called every so often. The RefreshTimer
middleware is designed to help you with this.
Attribute Setup
and now in your code, you can simply call the mediator to get the stream and await foreach
Configuration
Much like other middleware, you can use the Microsoft.Extensions.Configuration.