|
Smalltalk/X WebserverDocumentation of class 'BackgroundPeriodicalJob': |
|
|
Class: BackgroundPeriodicalJobInheritance:Object | +--AbstractBackgroundJob | +--BackgroundPeriodicalJob
Description:
A BackgroundPeriodicalJob is a specialized form
of a BackgroundJob that performs given job periodically
i.e., every X milliseconds.
[instance variables:]
interval <TimeDuration> how often to perform a job.
[class variables:]
Related information:
BackgroundJob
Instance protocol:accessing processing
Examples:| job text | text := 'Hello world'. job := BackgroundPeriodicalJob named: 'example job' on:[ Transcript showCR:'One guy said: ', text ]. job interval: 1000. job start. Delay waitForSeconds: 3. text := 'Haya, you should see this text repeating every second....'. job restart. Delay waitForSeconds: 3. job stop. |
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 08:40:45 GMT
|