Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

BenRib
Copy link

@BenRib BenRib commented Sep 22, 2025

I've updated the events to include the cache entry metadata when possible.
The purpose is to let event subscribers have access to the metadata to take further actions based on attributes such as LastModifiedTimestamp or EagerExpirationTimestamp.
To avoid breaking changes on the public API, I've kept the event delegates as they are and added new constructors to the event args classes where metadata were added.
New classes have been created when the events relied on the base event args. However, these are not part of the delegates as that would have resulted in breaking changes. It is still possible for the consumers to cast the received args to access the metadata property.

@jodydonetti
Copy link
Collaborator

Hi @BenRib , thanks for the PR.
I'm currently off for my "summer" vacations with limited connectivity, and I'll be back next week: I'll take a look then.

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.