Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MetaMask/torus-node
/ New
Function
New
eventbus/event_bus.go:58–66 ·
view source on GitHub ↗
New returns new EventBus with empty handlers.
()
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
15
New
Function · 0.92
TestNewServer
Function · 0.70
TestNewClient
Function · 0.70
TestRegister
Function · 0.70
TestPushEvent
Function · 0.70
TestServerPublish
Function · 0.70
NewNetworkBus
Function · 0.70
TestNew
Function · 0.70
TestHasCallback
Function · 0.70
TestSubscribe
Function · 0.70
TestSubscribeOnce
Function · 0.70
TestSubscribeOnceAndManySubscribe
Function · 0.70
Calls
1
Bus
Interface · 0.85
Tested by
15
TestNewServer
Function · 0.56
TestNewClient
Function · 0.56
TestRegister
Function · 0.56
TestPushEvent
Function · 0.56
TestServerPublish
Function · 0.56
TestNew
Function · 0.56
TestHasCallback
Function · 0.56
TestSubscribe
Function · 0.56
TestSubscribeOnce
Function · 0.56
TestSubscribeOnceAndManySubscribe
Function · 0.56
TestUnsubscribe
Function · 0.56
TestUnsubscribeAll
Function · 0.56