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

Simplify running ZIO effects #2828

Merged
merged 3 commits into from
May 12, 2024
Merged

Conversation

kyri-petrou
Copy link
Collaborator

Heya folks, I've noticed that there are a few places where ZIO effects are run "synchronously" either unnecessarily or not composed together, so I thought to make a PR for it.

Also, I removed the NettyRuntime#runtime method as discussed here: #2800 (comment). This also allows us to do an ultra-micro-optimization by not having to create the Runtime#UnsafeAPI on each invocation of run

@kyri-petrou
Copy link
Collaborator Author

Flaky test seems to strike again. Probably just needs a retry but I don't have the right permissions to do it

@987Nabil
Copy link
Contributor

@kyri-petrou I can't remember I saw that test failing before. I merged main. Let's see what's the outcome

@jdegoes jdegoes merged commit 68b7cad into zio:main May 12, 2024
27 checks passed
@kyri-petrou kyri-petrou deleted the simplify-running-effects branch May 12, 2024 22:34
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.

3 participants