MCPcopy Create free account
hub / github.com/F-Stack/f-stack / moduleClientIsBlockedOnKeys

Function moduleClientIsBlockedOnKeys

app/redis-6.2.6/src/module.c:5493–5496  ·  view source on GitHub ↗

Return true if the client 'c' was blocked by a module using * RM_BlockClientOnKeys(). */

Source from the content-addressed store, hash-verified

5491/* Return true if the client 'c' was blocked by a module using
5492 * RM_BlockClientOnKeys(). */
5493int moduleClientIsBlockedOnKeys(client *c) {
5494 RedisModuleBlockedClient *bc = c->bpop.module_blocked_handle;
5495 return bc->blocked_on_keys;
5496}
5497
5498/* Unblock a client blocked by `RedisModule_BlockedClient`. This will trigger
5499 * the reply callbacks to be called in order to reply to the client.

Callers 1

unblockClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected