API ReferencePub/Sub
PUnsubscribe
Unsubscribe from a pattern subscription
Syntax
Redix.PUnsubscribe(pattern)Parameters
Prop
Type
Returns
Prop
Type
Example
-- Unsubscribe from pattern
Redix.PUnsubscribe('events:player:*')
-- Example with cleanup
function StopMonitoring()
Redix.PUnsubscribe('resource:*')
print('Stopped monitoring resources')
end