Search code examples
silverlighttimerironruby

How to create timer in silverlight application using ironruby?


I want to call some function repeatly in client's browser.
System::Timers::Timer work only on serverside how i know...


Solution

  • In Silverlight you can use System::Threading::Timer or System::Windows::Threading::DispatcherTimer. If your timer callback is mainly interacting with the UI, use the DispatcherTimer, otherwise use the regular Timer.