rrousselGit / riverpod

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
https://riverpod.dev
MIT License
5.82k stars 888 forks source link

Add pause mechanism #3428

Open rrousselGit opened 1 month ago

rrousselGit commented 1 month ago

Related Issues

fixes #1344 fixes #1207

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: ed0a372c898d1a5e560ade47bbbc6142ee0bcaa2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.15%. Comparing base (36f3e20) to head (ed0a372).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/rrousselGit/riverpod/pull/3428/graphs/tree.svg?width=650&height=150&src=pr&token=YLNY78nI5y&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet)](https://app.codecov.io/gh/rrousselGit/riverpod/pull/3428?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet) ```diff @@ Coverage Diff @@ ## dev #3428 +/- ## ========================================== + Coverage 94.35% 99.15% +4.80% ========================================== Files 43 5 -38 Lines 2339 238 -2101 ========================================== - Hits 2207 236 -1971 + Misses 132 2 -130 ``` | [Files](https://app.codecov.io/gh/rrousselGit/riverpod/pull/3428?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet) | Coverage Δ | | |---|---|---| | [...ckages/flutter\_riverpod/lib/src/core/consumer.dart](https://app.codecov.io/gh/rrousselGit/riverpod/pull/3428?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet#diff-cGFja2FnZXMvZmx1dHRlcl9yaXZlcnBvZC9saWIvc3JjL2NvcmUvY29uc3VtZXIuZGFydA==) | `98.87% <100.00%> (+0.05%)` | :arrow_up: | ... and [38 files with indirect coverage changes](https://app.codecov.io/gh/rrousselGit/riverpod/pull/3428/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet)