-
How would I use another thread to update a field and the UI?
(In Blazor one would use StateHasChanged) |
Beta Was this translation helpful? Give feedback.
Answered by
kjeske
Feb 2, 2024
Replies: 1 comment
-
You could use polling here (docs): public class MyComponent : HydroComponent
{
public int Count { get; set; }
[Poll(Interval = 2000)]
public void IncTest()
{
Count++;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kjeske
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could use polling here (docs):