I have this ServerSide Blazor running and I have:
listTimer = new System.Timers.Timer();
listTimer.Interval = 1000;
listTimer.Elapsed += async (s, e) =>
{
await Utils.LogToConsole(jsRuntime, DateTime.Now.ToString());
}
`
But when I run this I get huge amounts of log in the Chrome console but I expect to see only logs each 1000 millis. Anyone seen this problem and found a workaround. Yes I could check the actual time and compare but I dont like it triggering like thats crazy.