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

Ignore extra calls to callback in effectAsync #1402

Merged
merged 1 commit into from Aug 17, 2019

Conversation

ghostdogpr
Copy link
Member

Fixes #1399
Fixes #857

The test I added is a bit dirty but that's the only way I could reproduce the horrible ClassCastException that happened before the fix.

@ghostdogpr ghostdogpr merged commit a737e76 into zio:master Aug 17, 2019
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.

Safer effectAsync Improve error message when ZIO async callback is called more than 1 time
2 participants