[Newbies] Update Timer?

Kirk Fraser overcomer.man at gmail.com
Sat May 2 05:14:02 UTC 2015


I am building a simple database using a tree and a ReferenceStream as
learned here.  I want it to update the disk file every 10 min. with the
current tree.  What should I do?

The classes Time, Duration, Stopwatch, Schedule, look like possibilities
but the only method that looks good is Schedule "between: aStart and: anEnd
do: aBlock" but I don't want it to hang waiting on the timer so the tree
can't take my changes.  How do I make something perform like a text editor
that saves its work every 10 min?

Thanks,

Kirk Fraser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20150501/4e61af36/attachment.htm


More information about the Beginners mailing list