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

Function NewVoidProcessor

push/processor.go:119–121  ·  view source on GitHub ↗

NewVoidProcessor creates a new void push notification processor

()

Source from the content-addressed store, hash-verified

117
118// NewVoidProcessor creates a new void push notification processor
119func NewVoidProcessor() *VoidProcessor {
120 return &VoidProcessor{}
121}
122
123// GetHandler returns nil for void processor since it doesn't maintain handlers
124func (v *VoidProcessor) GetHandler(_ string) NotificationHandler {

Calls

no outgoing calls

Tested by 6

TestVoidProcessorFunction · 0.68
TestProcessorCreationFunction · 0.68