MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / OnClose

Function OnClose

internal/events/utils.go:33–36  ·  view source on GitHub ↗
(callback func())

Source from the content-addressed store, hash-verified

31}
32
33func OnClose(callback func()) {
34 On(EventQuit, callback)
35 On(EventTerminated, callback)
36}
37
38// OnKey 使用Key增加事件回调
39func OnKey(event Event, key interface{}, callback func()) {

Callers 12

OpenMethod · 0.92
NewSQLiteDBFunction · 0.92
NewKVDBFunction · 0.92
initFunction · 0.92
initMethod · 0.92
initFunction · 0.92
initMethod · 0.92
initFunction · 0.92
initFunction · 0.92
initFunction · 0.92
initFunction · 0.92
InitMethod · 0.92

Calls 1

OnFunction · 0.85

Tested by

no test coverage detected