Smalltalk/X WebserverDocumentation of class 'ProgressNotification': | |
Class: ProgressNotificationInheritance:Object | +--GenericException | +--Notification | +--UserNotification | +--ActivityNotification | +--ProgressNotification
Description:This should be used in long-going activities to tell the caller about any progress (percentage). Being a notification, it will be ignored if no one is interested. If someone is interested, the caller may present this information as a progress-bar, percentage display or whatever is useful in the UI. Examples are: http-requests, ftp requests, long lint checks etc. See examples (look for references to this class) on how this is used. ProgressNotification handle:[:ex | Transcript showCR:(ex progressValue rounded). ex proceed. ] do:[ #(0 1 2 3 4 5 6 6 7 8 9) do:[:i| Delay waitForMilliseconds: 50] displayingProgress: 'Progress' ]. Class protocol:notification
Instance protocol:accessing
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 30 Dec 2024 17:09:44 GMT |