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

feat: #3555 #3933

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

feat: #3555 #3933

wants to merge 4 commits into from

Conversation

jtdLab
Copy link

@jtdLab jtdLab commented Aug 15, 2023

Make emit of BlocBase return an Emitter which is used as an "internal" Emitter in Bloc replacing the old emit function. Inside Cubit the Emitter is used instead of the old emit function allowing easy handling of subscriptions as described in #3555.

Status

READY

Breaking Changes

These changes might be breaking for clients which override emit (happened in replay_bloc).
Else usage should be the same.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@jtdLab jtdLab requested a review from felangel as a code owner August 15, 2023 09:45
@jtdLab jtdLab changed the title Feat: #3555 feat: #3555 Aug 15, 2023
@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a7b6b5e) to head (dcf9cbb).
Report is 13 commits behind head on master.

Current head dcf9cbb differs from pull request most recent head 8a836cc

Please upload reports for the commit 8a836cc to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##            master     #3933    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           31         3    -28     
  Lines          802        82   -720     
==========================================
- Hits           802        82   -720     
Flag Coverage Δ
angular_bloc ?
bloc ?
bloc_concurrency ?
bloc_test ?
bloc_tools ?
flutter_bloc ?
hydrated_bloc ?
replay_bloc ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@felangel felangel added enhancement candidate Candidate for enhancement but additional research is needed breaking change Enhancement candidate would introduce a breaking change labels Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Enhancement candidate would introduce a breaking change enhancement candidate Candidate for enhancement but additional research is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants