memcached
memcached copied to clipboard
memcached.set callback second parameter.
We have noticed that the memcached.set callback is getting called with an err
and an ok
.
That was an unexpected behavior based on the normal javascript standards.
Also the README.md file has it documented as it is called with only err
.
https://github.com/3rd-Eden/memcached/blob/master/README.md
I've had some theoretical issues with no good callback in the "memcached.se" if none of the memcached instances are running. Is the "ok" callback something that can or should be used?