Tuesday, May 08, 2012

 

Timeouts in Smalltalk

Thats why I like Smalltalk (and Blocks) - powerfull and easy to understand:


[ self doSomething ]
valueWithin: 1 day
onTimeout: [ self doSomethingElse ].

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?