lib/openwfe/expressions/fe_losfor.rb in openwferu-0.9.6 vs lib/openwfe/expressions/fe_losfor.rb in openwferu-0.9.7

- old
+ new

@@ -50,10 +50,12 @@ # but never wait for its reply (lose it). # A 'lose' expression never replies to its parent expression. # class LoseExpression < FlowExpression + names :lose + def apply (workitem) get_expression_pool.apply(children[0], workitem) \ if (@children and @children.length > 0) end @@ -65,9 +67,11 @@ # # This method triggers its child (in its own thread) and then # forgets about it. It immediately replies to its parent expression. # class ForgetExpression < FlowExpression + + names :forget def apply (workitem) if (@children and @children.length > 0)