Skip to content

amatalai/cache_decorator

Repository files navigation

CacheDecorator

Elixir CI Hex.pm

CacheDecorator is an Elixir library that provides an easy way to add caching behavior to your module functions through compile-time decorators. By using @cache and @invalidate attributes, you can automatically cache function results and invalidate cache entries with minimal boilerplate.

Installation

Add the dependency to your mix.exs:

def deps do
  [
    {:cache_decorator, "~> 0.2.0"}
  ]
end

Usage

See documentation for usage examples

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages