MCPcopy Create free account
hub / github.com/corestoreio/pkg / publish

Method publish

config/service_pubsub.go:137–168  ·  view source on GitHub ↗

publish runs in a Goroutine and listens on the channel publishArg. Every time a message is coming in, it calls all subscribers. We must run asynchronously because we don't know how long each subscriber needs.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewServiceFunction · 0.80

Calls 5

readMapAndSendMethod · 0.95
UnsubscribeMethod · 0.95
DebugMethod · 0.45
ErrMethod · 0.45
IntMethod · 0.45

Tested by

no test coverage detected