Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adamgfraser
Copy link
Contributor

Resolves #7082.

The assumption that the asynchronous callback will be called at most once is not accurate in the presence of asynchronous interruption since the callback could be called by third party code concurrently with being called by the ZIO runtime if the fiber is interrupted.

@adamgfraser adamgfraser requested a review from jdegoes July 16, 2022 21:40
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.

ZStream processing leads to many strange messages from ZIO internals: "An async callback was invoked more than once, which could be a sign of a defect"

2 participants