MCPcopy Create free account
hub / github.com/AdRoll/baker / SendAll

Method SendAll

output/websocket/server.go:51–53  ·  view source on GitHub ↗

SendAll sends a message to all connected clients. Used by the output component to broadcast the message to the clients

(msg []string)

Source from the content-addressed store, hash-verified

49// SendAll sends a message to all connected clients. Used by the output component to broadcast
50// the message to the clients
51func (s *Server) SendAll(msg []string) {
52 s.sendAllCh <- msg
53}
54
55func (s *Server) err(err error) {
56 s.errCh <- err

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected