Reply to the client with an empty array. * * The function always returns REDISMODULE_OK. */
| 1576 | * |
| 1577 | * The function always returns REDISMODULE_OK. */ |
| 1578 | int RM_ReplyWithEmptyArray(RedisModuleCtx *ctx) { |
| 1579 | client *c = moduleGetReplyClient(ctx); |
| 1580 | if (c == NULL) return REDISMODULE_OK; |
| 1581 | addReply(c,shared.emptyarray); |
| 1582 | return REDISMODULE_OK; |
| 1583 | } |
| 1584 | |
| 1585 | /* When RedisModule_ReplyWithArray() is used with the argument |
| 1586 | * REDISMODULE_POSTPONED_ARRAY_LEN, because we don't know beforehand the number |
nothing calls this directly
no test coverage detected