MCPcopy
hub / github.com/g3n/engine / Subscribe

Method Subscribe

core/dispatcher.go:9–9  ·  view source on GitHub ↗
(evname string, cb Callback)

Source from the content-addressed store, hash-verified

7// IDispatcher is the interface for event dispatchers.
8type IDispatcher interface {
9 Subscribe(evname string, cb Callback)
10 SubscribeID(evname string, id interface{}, cb Callback)
11 UnsubscribeID(evname string, id interface{}) int
12 UnsubscribeAllID(id interface{}) int

Callers 15

InitMethod · 0.65
newSplitterFunction · 0.65
NewMenuBarFunction · 0.65
NewMenuFunction · 0.65
newMenuItemFunction · 0.65
NewImageButtonFunction · 0.65
initializeMethod · 0.65
setVScrollBarMethod · 0.65
setHScrollBarMethod · 0.65
NewDropDownFunction · 0.65
NewImageLabelFunction · 0.65
initializeMethod · 0.65

Implementers 1

Dispatchercore/dispatcher.go

Calls

no outgoing calls

Tested by

no test coverage detected