Abort a blocked client blocking operation: the client will be unblocked * without firing any callback. */
| 5639 | /* Abort a blocked client blocking operation: the client will be unblocked |
| 5640 | * without firing any callback. */ |
| 5641 | int RM_AbortBlock(RedisModuleBlockedClient *bc) { |
| 5642 | bc->reply_callback = NULL; |
| 5643 | bc->disconnect_callback = NULL; |
| 5644 | return RM_UnblockClient(bc,NULL); |
| 5645 | } |
| 5646 | |
| 5647 | /* Set a callback that will be called if a blocked client disconnects |
| 5648 | * before the module has a chance to call RedisModule_UnblockClient() |
nothing calls this directly
no test coverage detected