Dear list,

We have found strange behaviour with the Unqueue element in the following 
script:

InfiniteSource(LIMIT 5)
        -> Print("beforeQueue")
        -> SimpleQueue
        -> unqueue :: Unqueue(LIMIT 1)
        -> Print("afterQueue")
        -> Script(TYPE PACKET, write unqueue.reset);

We would expect this to print multiple times, and actually the script only 
prints once. The issue seems to be that inside the element _worked is added to 
_count, after _count was reset by the handler call...

best regards,
Bart
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.27
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.38.82
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be


_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to