-
I've a Blazor Hybrid App with Shiny and .NET8. I registered the job in the Programm.cs:
(I've to use the #if ANDROID because of errors otherwise) And in the Job itself I defined the MinimumTime (no documentation found for this parameter - hoping it's the right one):
The code in the Run function is only called once at the startup of the app. What am I missing? And are there older versions, because I found a lot of examples using Job parameters like "Repeat = true", "PeriodicTime = ..." and others, that doesn't exist in Shiny.NET for .NET8 (anymore?). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Jobs don't work like that. Periodic != Scheduled. The OS truly decides how often things run. MinimumTime is used to ensure it doesn't run too often. https://shinylib.net/client/jobs/faq/
The current samples don't have this. Docs are behind though. |
Beta Was this translation helpful? Give feedback.
Jobs don't work like that. Periodic != Scheduled. The OS truly decides how often things run. MinimumTime is used to ensure it doesn't run too often.
https://shinylib.net/client/jobs/faq/
The current samples don't have this. Docs are behind though.