pub unsafe fn notify_keyspace_event(
ctx: *mut RedisModuleCtx,
event_type: NotifyEvent,
event: &str,
keyname: &ValkeyString,
) -> StatusExpand description
§Safety
This function is safe to use as it doesn’t perform any work with the RedisModuleCtx pointer except for passing it to the valkey server.
§Panics
Panics when the RedisModule_NotifyKeyspaceEvent is unavailable.