ircnotifier_ | 45c03cac000d by prologic: Removed references to deleted circuits.app.config and circuits.app.log | 01:05 |
---|---|---|
*** jayaura has joined #circuits | 08:20 | |
spaceone | prologic: i have a little question: can i abort an event after it is fired? | 12:32 |
prologic | define abort? | 12:37 |
prologic | like you fired an event | 12:38 |
prologic | but didn't mean to and want to cancel it? | 12:38 |
spaceone | hmm, as example: i have fired a request event. then more data get written to the socket and i need to avoid that the fired request event will be responded because i have to respond with something else | 12:39 |
prologic | I'm not sure of a clean sensible way to do this in the core of circuits itself | 12:46 |
prologic | because once an event is fired | 12:46 |
prologic | and onec handled it would be too late | 12:46 |
prologic | it's possbile to build a "cancellation" mechanism in | 12:46 |
prologic | iif your application logic called .cancel() before the next tick | 12:46 |
prologic | that being said | 12:46 |
prologic | you could probably code this up yourself by listening to the request event at a high priority | 12:47 |
prologic | and queing it up in a different kind of queue | 12:47 |
prologic | and periododically check it | 12:47 |
spaceone | prologic: okay, it's probably the wrong way to implement this | 12:48 |
spaceone | i have another way | 12:49 |
*** Osso has joined #circuits | 12:50 | |
prologic | ok | 12:57 |
spaceone | bb | 12:57 |
ircnotifier_ | c80a3566261a by prologic: New derived events by default with better class inheritence and a .child() method on event instnaces | 13:59 |
ircnotifier_ | d5034afd58be by prologic: Added .cancel() mechanism for events which will prevent the event from being processed (if not already) | 14:03 |
*** Osso has quit IRC | 14:46 | |
*** Osso has joined #circuits | 15:57 | |
*** ircnotifier_ has quit IRC | 16:22 | |
*** ircnotifier_ has joined #circuits | 17:19 | |
*** Osso has quit IRC | 18:25 | |
*** Osso has joined #circuits | 19:09 | |
*** Osso has quit IRC | 19:09 | |
ircnotifier_ | ec81957ec19e by prologic: Fixed parts list | 22:52 |
ircnotifier_ | 9bbbd955aa7d by prologic: Updated version to 3.0dev (next release) | 23:32 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!