MCPcopy Create free account
hub / github.com/MetaMask/torus-node / Unsubscribe

Method Unsubscribe

eventbus/event_bus.go:151–159  ·  view source on GitHub ↗

Unsubscribe removes callback defined for a topic. Returns error if there are no callbacks subscribed to the topic.

(topic string, handler func(interface{}))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

removeHandlerMethod · 0.95
findHandlerIdxMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected