IRC Logs for #circuits Monday, 2014-01-27

*** ircnotifier has quit IRC04:09
*** ircnotifier has joined #circuits04:10
*** werebutt has joined #circuits04:12
*** ircnotifier has quit IRC05:26
*** ircnotifier has joined #circuits05:27
*** ircnotifier has quit IRC05:32
*** Myke_ has joined #circuits08:05
*** tmu has quit IRC08:29
*** tmu has joined #circuits08:29
*** Myke_ has quit IRC08:45
*** Ossoleil has joined #circuits09:25
*** ircnotifier has joined #circuits09:31
*** jgiorgi has joined #circuits16:28
jgiorgii'm using the complete mechanic for a loop but i need to break the loop when an error occurs, how could i do that?16:30
*** Myke_ has joined #circuits17:10
*** anunnaki has quit IRC17:21
*** Myke_ has quit IRC18:29
*** Ossoleil has quit IRC19:22
prologichey jgiorgi ltns20:11
prologicI don't quite get what you're describing :)20:11
prologic"looping" isn't really a construct in event-driven systems20:11
prologicbut you can create events loops if you will20:11
prologicevent A fires event B which in turns fires event A again20:12
*** Myke_ has joined #circuits20:22
jgiorgiprologic: that's effectively what i'm doing, a fires b, b_complete fires a20:32
jgiorgimy solution was to use the value object20:32
jgiorgithe value object contains the exceptions caught during execution, if there was an exception in value i stopped before firing a to start the loop again20:33
prologicjgiorgi:  if you deliverability create en event loop22:05
prologicthe only sensible way to break it is to maintain some kind of state somewhere22:06
prologicand check for this before firing the event that causes the loop22:06
*** anunnaki has joined #circuits22:18
*** realzies has quit IRC23:48
*** realzies has joined #circuits23:50

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!