Skip to content

Update field in another thread #12

Closed Answered by kjeske
aimgdev asked this question in Q&A
Discussion options

You must be logged in to vote

You could use polling here (docs):

public class MyComponent : HydroComponent
{
    public int Count { get; set; }

    [Poll(Interval = 2000)]
    public void IncTest()
    {
        Count++;
    }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kjeske
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants