abderrahim commented on code in PR #2104:
URL: https://github.com/apache/buildstream/pull/2104#discussion_r2773938963


##########
src/buildstream/_stream.py:
##########
@@ -1828,7 +1828,6 @@ def _add_queue(self, queue, *, track=False):
     def _enqueue_plan(self, plan, *, queue=None):
         queue = queue or self.queues[0]
         queue.enqueue(plan)
-        self.session_elements += plan

Review Comment:
   I guess the alternative is to make Element support more than one callback 
when it becomes required? This way both the Stream and the Queue can pass their 
own callbacks?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to