MCPcopy Create free account
hub / github.com/akash-network/node / bus

Struct bus

pubsub/bus.go:42–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42type bus struct {
43 subscriptions map[*bus]bool
44
45 evbuf []Event
46
47 eventch chan Event
48 parentch chan *bus
49
50 pubch chan Event
51 subch chan chan<- Subscriber
52 unsubch chan *bus
53
54 lc lifecycle.Lifecycle
55}
56
57// NewBus runs a new bus and returns bus details
58func NewBus() Bus {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected