[PEAK] Anybody using reactors?

alexander smishlajev alex at ank-sia.com
Wed Jan 14 11:58:59 EST 2004


Phillip J. Eby wrote, at 14.01.2004 18:35:

>> * ability to remove sheduled procedures from the laters list
> 
> I'm curious how this use case would be handled with 'peak.events'.  I 
> haven't yet felt a strong need for it myself, obviously, else I'd have 
> added it to UntwistedReactor.  Do you have a sample usage or kinds of 
> usage that I could see, so I could see how I'd write it with 
> peak.events, and make sure it's still tractable?

we use it to handle timeouts: timeout procedure is registered with 
callLater(), and we continue with normal data flow.  when expected event 
arrives, timeout procedure (if any) is removed from the queue, with 
possible resheduling at a later time.

best wishes,
alex.






More information about the PEAK mailing list