MCPcopy Index your code
hub / github.com/koding/kite / Callback

Function Callback

dnode/callback.go:43–47  ·  view source on GitHub ↗

Callback is the wrapper for function when sending.

(f func(*Partial))

Source from the content-addressed store, hash-verified

41
42// Callback is the wrapper for function when sending.
43func Callback(f func(*Partial)) Function {
44 return Function{
45 Caller: callback(f),
46 }
47}
48
49type callback func(*Partial)
50

Callers 2

TestScrubUnscrubFunction · 0.70
TestScrubFunction · 0.70

Calls 1

callbackFuncType · 0.85

Tested by 2

TestScrubUnscrubFunction · 0.56
TestScrubFunction · 0.56