Skip to main content

Cache.decr()

Subtract delta from the number stored under key, atomically. See incr().

Usage

Source

Cache.decr(
    key,
    delta=...,
    default=...,
)

Returns

int | float
The new value.