[squeak-dev] Delay for: 60 seconds vs. Delay forSeconds: 60.

Levente Uzonyi leves at elte.hu
Fri Jan 8 16:22:27 UTC 2010


On Fri, 8 Jan 2010, K. K. Subramaniam wrote:

> On Friday 08 January 2010 09:03:19 pm Levente Uzonyi wrote:
>> An #asDelay send doesn't make much difference IMO, and it just works:
>> 60 seconds asDelay wait.
>> Though #wait can be added to Duration as self asDelay wait.
> All senders of asDelay use it for wait, so why spread it all over?

#asDelay is more general, since it can convert a Duration to a Delay. You 
can store the delay an send #wait later to it. And it's compatible across 
forks and versions.


Levente

>
> Subbu
>



More information about the Squeak-dev mailing list