I've looked in the pharo book and I couldn't see any examples of every:aDuration do:aBlock
. I found a Timespan
class which when ran does give an error when the object is created and the method is called.
|plan|
plan := Timespan new.
plan start.
" save the file every 30s"
plan
every:30 seconds do:[ Transcript show:'My message']