On Jun 10, 4:11 pm, Michael Sparks <[email protected]> wrote:
>
> Pipeline(
>     A,
>     B,
>     C,
>     D,
>     circular = OnlySignals,
> ).run()
>
> As I say, at the moment the only option is to use the graphline above, but I'm
> more than happy to generalise this slightly.

This is exactly what I'm doing at present. Any of the components can
generate a producerFinished which will shut down the whole pipeline.
However, if this pipeline is treated as a component  and pipelined
with others, they won't be shut down in the same way. This is what I
meant by "plays nicely with".

Thinking about UNIX pipelines (it's what I'm used to) any process that
exits, having finished its work, will shut down the pipeline as
upstream processes get SIGPIPE when they try to write to their
outputs. Crude but effective. I was looking for something similar, but
less crude.  (-:

Jim Easterbrook

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"kamaelia" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/kamaelia?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to