From b15cca321490ec3f052ed4cfba615919095e7979 Mon Sep 17 00:00:00 2001 From: Ludwik Bukowski Date: Tue, 25 Jun 2019 14:04:28 +0200 Subject: [PATCH] Review fixes[skip-ci] --- doc/advanced-configuration/Services.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`.