| 5138 | } |
| 5139 | |
| 5140 | std::vector<robj_sharedptr> clientArgs(client *c) { |
| 5141 | std::vector<robj_sharedptr> args; |
| 5142 | for (int j = 0; j < c->argc; j++) { |
| 5143 | args.push_back(robj_sharedptr(c->argv[j])); |
| 5144 | } |
| 5145 | return args; |
| 5146 | } |
| 5147 | |
| 5148 | bool client::asyncCommand(std::function<void(const redisDbPersistentDataSnapshot *, const std::vector<robj_sharedptr> &)> &&mainFn, |
| 5149 | std::function<void(const redisDbPersistentDataSnapshot *)> &&postFn) |
no test coverage detected