Skip to content

Add .tapFailure to TryOps #609

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 5 commits into from
Jun 25, 2025
Merged

Add .tapFailure to TryOps #609

merged 5 commits into from
Jun 25, 2025

Conversation

najder-k
Copy link
Contributor

  • works basically like tapError on Task
  • used to avoid doing failed.foreach on task, which creates an unnecessary exception on Try.Success

- works basically like `tapError` on Task
- used to avoid doing `failed.foreach` on task, which creates an unnecessary exception on Try.Success
@najder-k najder-k requested a review from ddworak June 24, 2025 16:10
@halotukozak halotukozak requested a review from ddworak June 25, 2025 06:58
@halotukozak halotukozak merged commit d02b9c7 into master Jun 25, 2025
7 checks passed
@halotukozak halotukozak deleted the try-tapFailure branch June 25, 2025 09:03
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