Commit 59314291 authored by benoît chesneau's avatar benoît chesneau

rege doc

parent c51e16c2
Pipeline #4573308 passed with stage
in 3 minutes and 50 seconds
......@@ -4,7 +4,7 @@
Copyright (c) 2016 Benoît Chesneau.
__Version:__ 2.0.0.
__Version:__ 2.1.0.
## Erlang LRU
......
......@@ -4,7 +4,7 @@
Copyright (c) 2016 Benoît Chesneau.
__Version:__ 2.0.0.
__Version:__ 2.1.0.
## Erlang LRU
......
......@@ -65,7 +65,7 @@ registered name.</td></tr><tr><td valign="top"><a href="#stop-1">stop/1</a></td>
### add/3 ###
<pre><code>
add(Cache::<a href="#type-cache">cache()</a>, Key::term(), Value::term()) -&gt; true | false
add(Cache::<a href="#type-cache">cache()</a>, Key::term(), Value::term() | function()) -&gt; true | false
</code></pre>
<br />
......@@ -87,7 +87,7 @@ check if the key is in the cache
### contains_or_add/3 ###
<pre><code>
contains_or_add(Cache::<a href="#type-cache">cache()</a>, Key::term(), Value::term()) -&gt; {Exists::boolean(), Evict::boolean()}
contains_or_add(Cache::<a href="#type-cache">cache()</a>, Key::term(), Value::term() | function()) -&gt; {Exists::boolean(), Evict::boolean()}
</code></pre>
<br />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment