Combining Effect and Stream Types

Is there a combinator to go from:

Effect.Effect<Stream.Stream<A, E1, R1>, E2, R2>

to
Stream.Stream<A, E1 | E2, R1 | R2>


Does such an operation make sense? I am in an effect generator function and want to return a stream but is there any reason it has to be wrapped in an effect (thats just the way I've been doing it this whole time)? Can't the error and context channels be smushed into the stream's error and context channels?
Was this page helpful?