8000 Inherit child fibers created by merged streams by kyri-petrou · Pull Request #9180 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Inherit child fibers created by merged streams #9180

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
merged 2 commits into from
Sep 14, 2024

Conversation

kyri-petrou
Copy link
Contributor

/fixes #9091
/claim #9091

Issue is that when the forked effect exits (even successfully) any children created by it are interrupted. This PR fixes it by transfering ownership of fibers created from the merged channels into the fiber running the merged stream

@kyri-petrou kyri-petrou changed the title Inherit children created by merged streams Inherit child fibers created by merged streams Sep 7, 2024
@jdegoes jdegoes merged commit 857a685 into zio:series/2.x Sep 14, 2024
18 checks passed
@kyri-petrou kyri-petrou deleted the fix-zstream-merge-interruption branch September 14, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZStream.interruptWhen(promise) changes behavior of another stream
2 participants
0