Skip to content
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

ZStream scalajs readFile #8853

Merged
merged 1 commit into from May 21, 2024
Merged

Conversation

kaplan-shaked
Copy link
Contributor

No description provided.

@kaplan-shaked kaplan-shaked marked this pull request as draft May 13, 2024 10:11
@@ -214,6 +214,22 @@ object ZStreamPlatformSpecificSpec extends ZIOBaseSpec {
} yield assert(isDone)(isFalse) &&
assert(exit.untraced)(failsCause(containsCause(Cause.interrupt(selfId))))
}
)
),
test("ReadFile should work") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test when a file is non-existent?

@hearnadam
Copy link
Contributor

Looks like the CI is failing for JS. Please fix

@kaplan-shaked kaplan-shaked force-pushed the scalajs-read-file branch 3 times, most recently from dec3ff5 to f17f02e Compare May 13, 2024 18:36
jdegoes
jdegoes previously approved these changes May 14, 2024
Copy link
Member

@jdegoes jdegoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let us know when this is ready for a final review (it's marked as Draft).

@kaplan-shaked
Copy link
Contributor Author

Looks like the CI is failing for JS. Please fix

@hearnadam finished addressing CI issue and improved the API by supporting overriding the chunk size.

@kaplan-shaked kaplan-shaked marked this pull request as ready for review May 14, 2024 19:21
@kaplan-shaked
Copy link
Contributor Author

Let us know when this is ready for a final review (it's marked as Draft).

ready for review.
Thanks 🙏

@jdegoes jdegoes merged commit d9ffa16 into zio:series/2.x May 21, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants