Closed
Description
The scaladoc of says: ZStream.fromOutputStream
says:
The caller of this function is responsible for closing the
OutputStream
.
The implementation of ZStream.fromOutputStream
is: fromOutputStreamScoped(ZIO.succeed(os))
The scaladoc of ZSteam.fromOutputStreamScoped
says:
The
OutputStream
will be automatically closed after the stream is finished or an error occurred.
Both scaladocs can not be correct at the same time. I suspect the scaladoc of ZStream.fromOutputStream
is wrong.
Metadata
Metadata
Assignees
Labels
No labels