MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lpush

Method lpush

monkey/monkey.py:127–129  ·  view source on GitHub ↗
(self, key, val, callback = default_result_handler)

Source from the content-addressed store, hash-verified

125 self.callbacks.append(callback)
126
127 def lpush(self, key, val, callback = default_result_handler):
128 self.buf += _buildResp("lpush", key, val)
129 self.callbacks.append(callback)
130
131 def blpop(self, *keys, timeout=0, callback=default_result_handler):
132 self.buf += _buildResp("blpop", *keys, str(timeout))

Callers 1

handle_lpush_responseFunction · 0.80

Calls 2

_buildRespFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected