Skip to content

Commit

Permalink
Review fixes[skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwikbukowski committed Jun 25, 2019
1 parent f95e21b commit b15cca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/advanced-configuration/Services.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit b15cca3

Please sign in to comment.