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

Implement new ExpiringValue container class #702

Merged
merged 2 commits into from
Jun 16, 2024
Merged

Implement new ExpiringValue container class #702

merged 2 commits into from
Jun 16, 2024

Conversation

mairas
Copy link
Collaborator

@mairas mairas commented Jun 6, 2024

ExpiringValue is a container that returns the contained value if its age is less that max_age. Otherwise, an expiration marker value is returned. This comes handy if you want to combine a large number of values into a single output while ensuring that the values are still current.

@mairas mairas merged commit 4020558 into dev-3 Jun 16, 2024
28 checks passed
@mairas mairas deleted the expiring_value branch June 16, 2024 17:13
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.

1 participant