MCPcopy Create free account
hub / github.com/asaskevich/EventBus / Stop

Method Stop

server.go:114–120  ·  view source on GitHub ↗

Stop - signal for the service to stop serving

()

Source from the content-addressed store, hash-verified

112
113// Stop - signal for the service to stop serving
114func (server *Server) Stop() {
115 service := server.service
116 if service.started {
117 service.wg.Done()
118 service.started = false
119 }
120}
121
122// ServerService - service object to listen to remote subscriptions
123type ServerService struct {

Callers 2

TestNewServerFunction · 0.95
TestServerPublishFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestNewServerFunction · 0.76
TestServerPublishFunction · 0.76