Delay.st
changeset 20197 091727fab41e
parent 18996 d27c313ccf06
child 20206 51652e7f46dd
child 21503 d8d05099c9e5
--- a/Delay.st	Mon Aug 01 12:43:14 2016 +0200
+++ b/Delay.st	Mon Aug 01 15:33:25 2016 +0200
@@ -38,9 +38,9 @@
 
 documentation
 "
-    Instances of Delay are used to suspend the execution of a process 
-    (i.e. thread) for some time interval. 
-    Delays can be created either for some time-interval (seconds or milliseconds), 
+    Instances of Delay are used to suspend the execution of a process
+    (i.e. thread) for some time interval.
+    Delays can be created either for some time-interval (seconds or milliseconds),
     or for delaying until a specific time has reached.
     Once created, a delay is waited upon with Delay>>wait.
 
@@ -48,7 +48,7 @@
     the resumption time will ALWAYS be after the actual delay time.
     (i.e. a Delay for n-millis will actually suspend for more than n milliseconds)
 
-    Warning: 
+    Warning:
         currently, the implementation does not support delays longer than
         a system specific maximum - future versions may remove this limitation.
         For now, do not use delays longer than the value returned by
@@ -68,7 +68,7 @@
 "
 !
 
-examples 
+examples
 "
     Check your systems resolution with:
     (make certain, that no other timed processes are running in the background when doing this)
@@ -151,9 +151,9 @@
 !Delay class methodsFor:'instance creation'!
 
 for:aTimeDuration
-    "return a new Delay object for delaying aNumber seconds"
+    "return a new Delay object for delaying aTimeDuration"
 
-    ^ self new delay:aTimeDuration getMilliseconds.
+    ^ self new delay:aTimeDuration getMilliseconds
 
     "
       Delay for:10 seconds