Memcache.decr_cas
You're seeing just the function
decr_cas
, go back to Memcache module for more information.
Specs
decr_cas(GenServer.server(), binary(), integer(), Keyword.t()) :: fetch_integer_result()
Decrements the current value if the CAS value is equal to the provided value.
Options
:by
- (integer) The amount to add to the existing value. Defaults to1
.:default
- (integer) Default value to use in case the key is not found. Defaults to0
.
other options: :cas
, :ttl