Collect piped data from multiple streams.