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

Method ChannelSize

pubsub.go:588–590  ·  view source on GitHub ↗

ChannelSize is like Channel, but creates a Go channel with specified buffer size. Deprecated: use Channel(WithChannelSize(size)), remove in v9.

(size int)

Source from the content-addressed store, hash-verified

586//
587// Deprecated: use Channel(WithChannelSize(size)), remove in v9.
588func (c *PubSub) ChannelSize(size int) <-chan *Message {
589 return c.Channel(WithChannelSize(size))
590}
591
592// ChannelWithSubscriptions is like Channel, but message type can be either
593// *Subscription or *Message. Subscription messages can be used to detect

Callers

nothing calls this directly

Calls 2

ChannelMethod · 0.95
WithChannelSizeFunction · 0.85

Tested by

no test coverage detected