diff --git a/doc/advanced-configuration/Services.md b/doc/advanced-configuration/Services.md index 97a43d8e179..96cb5ba5da4 100644 --- a/doc/advanced-configuration/Services.md +++ b/doc/advanced-configuration/Services.md @@ -38,8 +38,8 @@ Module `service_admin_extra` depens on `service_cache`(see below) as cache is ef ### service_cache -Implementation of cache storage. -Module expose one function `lookup/2` with parameters `Key` and `Fun`. +The Implementation of cache storage. +Module exposes one function `lookup/2` with parameters `Key` and `Fun`. When called and the key `Key` exists in cache, the related value is returned. Otherwise, it evaluates `Fun` and stores the result under `Key`. Function `Fun` is expected to return either `{ok, Value}` or `error`.