Abort a blocked client blocking operation: the client will be unblocked * without firing any callback. */
| 5529 | /* Abort a blocked client blocking operation: the client will be unblocked |
| 5530 | * without firing any callback. */ |
| 5531 | int RM_AbortBlock(RedisModuleBlockedClient *bc) { |
| 5532 | bc->reply_callback = NULL; |
| 5533 | bc->disconnect_callback = NULL; |
| 5534 | return RM_UnblockClient(bc,NULL); |
| 5535 | } |
| 5536 | |
| 5537 | /* Set a callback that will be called if a blocked client disconnects |
| 5538 | * before the module has a chance to call RedisModule_UnblockClient() |
nothing calls this directly
no test coverage detected