8000 Inconsistency in documentation of ZStream.fromOutputStream · Issue #9234 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Inconsistency in documentation of ZStream.fromOutputStream #9234
Closed
@erikvanoosten

Description

@erikvanoosten

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0