|
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.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 10:13:02 GMT
|