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 AUOWCache.Strategy to be a protocol #168

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

aim2120
Copy link
Collaborator

@aim2120 aim2120 commented Dec 18, 2024

Description

As suggested in #164, this PR refactors AUOWCache.Strategy to be a protocol that may be implemented by consumers. The refactor attempts to minimize the possibility of consumer breakage.

Copy link

trunk-io bot commented Dec 18, 2024

😎 Merged successfully - details.

@Tyler-Keith-Thompson
Copy link
Owner

This looks great! Thank you for the PR! I get where we'd hold off on the new cache strategy from being part of the sequence version of this, but should we make the same extensible refactor for the CacheUntilCompletionOrCancellation on the sequence version of shareFromCache? Or are you thinking maybe that's a separate PR?

@aim2120 aim2120 force-pushed the share-from-cache-strategy-refactor branch from d5c40df to 7f30874 Compare December 19, 2024 13:32
@trunk-io trunk-io bot merged commit 207d7e6 into main Dec 20, 2024
4 checks passed
@trunk-io trunk-io bot deleted the share-from-cache-strategy-refactor branch December 20, 2024 08:51
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.

2 participants