C#C
C#7d ago
Mango

Singleton timer (in Blazor)

If I want a singleton to constantly run a timer, to invoke an event Action, would I use a background _ = Task.Run(); approach or a simple System.Timers.Timer?
Was this page helpful?