Skip to content

Add synchronous methods #198

@davidjamesb

Description

@davidjamesb

What problem does the feature solve?

If we add synchronous methods Get/GetOrSet, etc it allows CacheTower functionality to be used outside of asynchronous contexts.

How would you use/interact with the feature? (if applicable)

Exactly the same as the async versions - just synchronously :) Other common implementations E.g. IDistributedCache have both synchronous and asynchronous flavors of methods.

Notes

I wanted to add CacheTower to my stack and for starters - use it for caching expression trees. However, this is all synchronous work - so I went with IMemoryCache/IDistributedCache instead for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions