Memcache.decr_cas

You're seeing just the function decr_cas, go back to Memcache module for more information.
Link to this function

decr_cas(server, key, cas, opts \\ [])

View Source

Specs

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 to 1.

  • :default - (integer) Default value to use in case the key is not found. Defaults to 0.

other options: :cas, :ttl