Community
Showing results for 
Search instead for 
Do you mean 
Reply

Best way to run method in plugin at interval?

Copper Contributor
Posts: 13
Country: USA

Best way to run method in plugin at interval?

Basically I would like my UI to run a method every x seconds and refresh the UI as necessary. And I am wondering what is the best way to accomplish this with the Act Framework.

Employee
Posts: 1,163
Country: USA

Re: Best way to run method in plugin at interval?

I dont' believe there is any event in the Act api that is going to fire at regular intervals.

 

You can use the System.DateTime class though to accomplish this.

Matthew Wood
Act! SDK Support
Community Moderator
Copper Contributor
Posts: 13
Country: USA

Re: Best way to run method in plugin at interval?

Thanks, just wanted to confirm that.
Nickel Elite Contributor
Posts: 937
Country: USA

Re: Best way to run method in plugin at interval?

I've used the timer component in custom controls to do refreshes on timed intervals, but there's no context to use this kind of control in a plugin.