MCPcopy
hub / github.com/redis/go-redis / NewVoidPushNotificationProcessor

Function NewVoidPushNotificationProcessor

push_notifications.go:19–21  ·  view source on GitHub ↗

NewVoidPushNotificationProcessor creates a new void push notification processor This processor does not maintain any handlers and always returns nil for all operations It is used for RESP2 connections where push notifications are not available It can also be used to disable push notifications for RE

()

Source from the content-addressed store, hash-verified

17// It can also be used to disable push notifications for RESP3 connections, where
18// it will discard all push notifications without processing them
19func NewVoidPushNotificationProcessor() push.NotificationProcessor {
20 return push.NewVoidProcessor()
21}

Callers 2

initializePushProcessorFunction · 0.85
NewSentinelClientFunction · 0.85

Calls 1

NewVoidProcessorFunction · 0.92

Tested by

no test coverage detected