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

Method Subscribe

chainbus/bus.go:27–27  ·  view source on GitHub ↗
(topic string, handler interface{})

Source from the content-addressed store, hash-verified

25// ChainSuber defines subscribing-related bus behavior.
26type ChainSuber interface {
27 Subscribe(topic string, handler interface{}) error
28 SubscribeAsync(topic string, handler interface{}, transactional bool) error
29 SubscribeOnce(topic string, handler interface{}) error
30 SubscribeOnceAsync(topic string, handler interface{}) error

Callers 7

TestHasCallbackFunction · 0.65
TestSubscribeFunction · 0.65
TestUnsubscribeFunction · 0.65
TestPublishFunction · 0.65
InitMethod · 0.65
TestNewBusServiceFunction · 0.65

Implementers 1

ChainBuschainbus/bus.go

Calls

no outgoing calls

Tested by 6

TestHasCallbackFunction · 0.52
TestSubscribeFunction · 0.52
TestUnsubscribeFunction · 0.52
TestPublishFunction · 0.52
TestNewBusServiceFunction · 0.52