|
From: | Holger Hans Peter Freyther |
Subject: | Re: [Help-smalltalk] Timeouts for BlockClosures |
Date: | Wed, 06 Apr 2011 11:35:17 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.9 |
On 04/06/2011 11:29 AM, Paolo Bonzini wrote: > > Yes, as the primary method. You can add an extension on BlockClosure > yourself. > > Squeak has BlockClosure>>#valueWithin:onTimeoutDo: but it accepts a Duration. > drat, I thought I invented something. Should we do something similar? Or is the summary: Implement this as part of delay, provide syntactic sugar for BlockClosures (myself)?
[Prev in Thread] | Current Thread | [Next in Thread] |