Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/bee-queue/bee-queue
/ clearKeys
Function
clearKeys
test/job-test.js:241–246 ·
view source on GitHub ↗
(client, queue)
Source
from the content-addressed store, hash-verified
239
});
240
241
async
function
clearKeys(client, queue) {
242
const
keys =
await
client.keys(queue.toKey(
'*'
));
243
if
(keys.length) {
244
return
await
client.del(keys);
245
}
246
}
Callers
1
job-test.js
File · 0.85
Calls
1
toKey
Method · 0.80
Tested by
no test coverage detected