discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delayed invocation


From: Stefan Urbanek
Subject: Delayed invocation
Date: Sun, 20 Feb 2005 19:32:43 +0100

Hi,

Is there a way to delay an invocation while ignoring any previous
similar message sends? I would like to do something like:

1. schedule [delegate updateWithObject:anObject] after 1 second
2. do something, where more updateWithObject: messages are possible 
3. ignore all previous messages, keep only thee last one

After that, the updateWithObject should be sent only once - 1 second
after the last message send. 

How can I do that in some simple way?

Thanks,

Stefan
-- 
http://stefan.agentfarms.net

First they ignore you, then they laugh at you, then they fight you, then
you win.
- Mahatma Gandhi






reply via email to

[Prev in Thread] Current Thread [Next in Thread]