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

Update ExpiringMap::insert to return the underlying value #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

demoray
Copy link

@demoray demoray commented Jul 15, 2024

This updates ExpiringMap::insert to work like the rest of the ExpiringMap functions that wrap the underlying HashMap implementation

This updates `ExpiringMap::insert` to work like the rest of the
`ExpiringMap` functions that wrap the underlying `HashMap`
implementation
@randomairborne
Copy link
Owner

IIRC this was an intentional design decision to allow users to inspect the time at which it would expire.

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