You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a callback update_counter in Nebulex.Cache, in order to handle both scenarios, increments and decrements, depending on the incr value, which can me positive or negative. In case incr is not a valid integer value, it should raise an ArgumentError exception.
cabol
changed the title
Implement analogous functions to Redis incrby and decrby
Add counters support – increments and decrements by a given amount
Aug 23, 2017
Create a callback
update_counter
inNebulex.Cache
, in order to handle both scenarios, increments and decrements, depending on theincr
value, which can me positive or negative. In caseincr
is not a valid integer value, it should raise anArgumentError
exception.The text was updated successfully, but these errors were encountered: