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

Function scan_callback

monkey/monkey.py:195–199  ·  view source on GitHub ↗
(c, resp=None)

Source from the content-addressed store, hash-verified

193 c.delete("list_" + getrandomkey(), handle_del_response)
194
195def scan_callback(c, resp=None):
196 global ops
197 nextstart = int(resp[0])
198 c.scan(nextstart, count=500, callback=scan_callback)
199 ops['scan'] += 1
200
201def clear_ops():
202 global ops

Callers

nothing calls this directly

Calls 1

scanMethod · 0.80

Tested by

no test coverage detected