8000 Fix Scaladoc for `ZStream.fromOutputStreamScoped` by kyri-petrou · Pull Request #9269 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Scaladoc for ZStream.fromOutputStreamScoped #9269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions streams/jvm/src/main/scala/zio/stream/platform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,9 @@ private[stream] trait ZSinkPlatformSpecificConstructors {
* consumes byte chunks and writes them to the `OutputStream`. The sink will
* yield the count of bytes written.
*
* The `OutputStream` will be automatically closed after the stream is
* finished or an error occurred.
* The `Scope` of the provided effect will be automatically closed after the
* stream is finished or an error occurred. It's the responsibility of the
* user to attach the closing of the `OutputStream` to the `Scope`.
*/
final def fromOutputStreamScoped(
os: => ZIO[Scope, IOException, OutputStream]
Expand Down
Loading
0