Skip to content

Commit

Permalink
Update docs/essentials/index.md
Browse files Browse the repository at this point in the history
Improve wording.

Co-authored-by: Maxim Schuwalow <16665913+mschuwalow@users.noreply.github.com>
  • Loading branch information
quelgar and mschuwalow committed Sep 20, 2020
1 parent 603aa0d commit 91cd09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/essentials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ val read100: ZIO[Blocking, Option[IOException], Chunk[Byte]] =
.flatMap(_.readChunk(100).eofCheck)
```

If the error is `None` if end-of-stream is reached, and it is `Some` if the read failed.
End-of-stream will be signalled with `None`. Any errors will be wrapped in `Some`.

## References

Expand Down

0 comments on commit 91cd09b

Please sign in to comment.