MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / Channel

Method Channel

tools/subscriptions/client.go:110–115  ·  view source on GitHub ↗

Channel implements the [Client.Channel] interface method.

()

Source from the content-addressed store, hash-verified

108
109// Channel implements the [Client.Channel] interface method.
110func (c *DefaultClient) Channel() chan Message {
111 c.mu.RLock()
112 defer c.mu.RUnlock()
113
114 return c.channel
115}
116
117// Subscriptions implements the [Client.Subscriptions] interface method.
118//

Callers 5

TestNewDefaultClientFunction · 0.95
TestChannelFunction · 0.95
TestSendFunction · 0.95

Calls

no outgoing calls

Tested by 5

TestNewDefaultClientFunction · 0.76
TestChannelFunction · 0.76
TestSendFunction · 0.76