![]() |
Smalltalk/X WebserverDocumentation of class 'BackgroundJob': |
|
Class: BackgroundJobInheritance:Object | +--AbstractBackgroundJob | +--BackgroundJob
Description:A BackgroundJob for one-shot computation. When started, it performs it job and terminates. User have to explicitly ask job to start again to perform new computation. [instance variables:] [class variables:] Related information:BackgroundJob Instance protocol:processing
Examples:| job text | job := BackgroundJob named: 'example job' on:[ Delay waitForSeconds: 3. Transcript showCR:'One guy said: ', text ]. text := 'Hello world'. job restart. Delay waitForSeconds: 5. text := 'Ahoj Svete!'. job restart. Delay waitForSeconds: 1. text := 'Haya, I''m talking fast, you should not see the czech greeting'. job restart. |
|
ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 05 Dec 2023 14:36:37 GMT
|