![]() |
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 04 Jun 2023 16:29:06 GMT
|