[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Timers



sclang does not have Timers, in the usual sense of timers in other
languages, like NSTimer in obj-c.

There is someClock.sched, but those are not cancelable.

I attach a TimerItem class that lets you create repeating or
non-repeating timers that can be cancelled. Perhaps something like
this would make sense to include in the main lib?

--
/Jonatan
http://kymatica.com

Attachment: TimerItem.sc
Description: Binary data