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

refactor: remove redundant error channel on msg sent API #16

Merged
merged 5 commits into from May 14, 2022

Conversation

Previously, Messenger returned internal ctx error on closage,
which can potentially confuse user as it can be mistaken that
the error is coming not from the internal ctx but from the one
that is passed by user. Now errors are diffirintiated as new
special errClosed type is introduced
@Wondertan Wondertan requested a review from liamsi May 14, 2022 15:06
@Wondertan Wondertan self-assigned this May 14, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 14, 2022

Codecov Report

Merging #16 (07e2dc3) into main (0b0d87f) will decrease coverage by 1.47%.
The diff coverage is 62.06%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   74.32%   72.84%   -1.48%     
==========================================
  Files           9        9              
  Lines         296      302       +6     
==========================================
  Hits          220      220              
- Misses         56       61       +5     
- Partials       20       21       +1     
Impacted Files Coverage Δ
messenger.go 69.56% <52.63%> (-7.71%) ⬇️
messenger_out.go 80.89% <77.77%> (+0.66%) ⬆️
messenger_in.go 81.25% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b0d87f...07e2dc3. Read the comment docs.

@Wondertan Wondertan merged commit e90b76a into main May 14, 2022
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.

api: redundant error channels on Send/Broadcast
3 participants