MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / doPublishAsync

Method doPublishAsync

chainbus/bus.go:179–185  ·  view source on GitHub ↗
(handler *eventHandler, topic string, args ...interface{})

Source from the content-addressed store, hash-verified

177}
178
179func (bus *ChainBus) doPublishAsync(handler *eventHandler, topic string, args ...interface{}) {
180 defer bus.wg.Done()
181 if handler.transactional {
182 defer handler.Unlock()
183 }
184 bus.doPublish(handler, topic, args...)
185}
186
187func (bus *ChainBus) removeHandler(topic string, idx int) {
188 if _, ok := bus.handlers[topic]; !ok {

Callers 1

PublishMethod · 0.95

Calls 1

doPublishMethod · 0.95

Tested by

no test coverage detected