From 74166241ad96d71abc344652daa2221f5d37fe32 Mon Sep 17 00:00:00 2001 From: Roman Heinrich Date: Fri, 6 Sep 2024 23:43:32 +0200 Subject: [PATCH] Chore: readme wording --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c37a30b..6f1e39a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ Generic cache for Elixir. It uses MFA tuples as keys, so you can cache any funct By relying on `gen_statem`, it is able to prevent duplicate work on concurrent requests on the same key, while keeping the API simple. -The generation for the cache value is done in a separate process, so the GenServer loop is never blocked. Also it is possible to generate multiple diffeent expensive values in parallel, with all the callers waiting for the result. This happens transparently to the caller. +The generation of the cache value is done in a separate process, so the main GenServer loop is never blocked. Also it is possible to generate multiple different expensive values in parallel, with all the callers waiting for the result. This happens transparently to the caller. + +All thanks to the awesome [gen_statem](https://www.erlang.org/doc/apps/stdlib/gen_statem.html) module. ## Usage