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

Function NewPushNotificationProcessor

push_notifications.go:10–12  ·  view source on GitHub ↗

NewPushNotificationProcessor creates a new push notification processor This processor maintains a registry of handlers and processes push notifications It is used for RESP3 connections where push notifications are available

()

Source from the content-addressed store, hash-verified

8// This processor maintains a registry of handlers and processes push notifications
9// It is used for RESP3 connections where push notifications are available
10func NewPushNotificationProcessor() push.NotificationProcessor {
11 return push.NewProcessor()
12}
13
14// NewVoidPushNotificationProcessor creates a new void push notification processor
15// This processor does not maintain any handlers and always returns nil for all operations

Callers 1

initializePushProcessorFunction · 0.85

Calls 1

NewProcessorFunction · 0.92

Tested by

no test coverage detected