One processing conduit, 2 IO sources of the same type
I don’t know if it’s any help, but I tried to implement Iain’s suggestion and made a variant of mergeSources’ that stops as soon as any of the channels does: mergeSources’ :: (MonadIO m, MonadBaseControl IO m) => [Source (ResourceT m) a] — ^ The sources to merge. -> Int — ^ The bound of … Read more