Hi, 

Perhaps you could put the list (or map) of boxes in an MVar (or TVar) and 
make the dispatching pipe check the MVar at each iteration.

On Saturday, March 21, 2015 at 9:20:06 PM UTC+1, Dima Gorbik wrote:
>
> Hello,
>
> I am facing the following problem — I need to add broadcast clients 
> dynamically. Monoidal concatenation only allows to specify these clients 
> statically. Theoretically I could have a dispatching pipe that would 
> operate on a number of boxes for all clients but then how would I add new 
> boxes to the dispatcher dynamically without restarting the whole pipe. 
> What's the best way to implement this?
>
> Thanks,
> Dima
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-pipes+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-pipes@googlegroups.com.

Reply via email to