Merge multiple streams into one stream in sequence or parallel.