MCPcopy
hub / github.com/matryer/xbar / RefreshFunc

FuncType RefreshFunc

pkg/plugins/plugin.go:24–24  ·  view source on GitHub ↗

RefreshFunc is a callback fired after a Plugin is refreshed.

func(ctx context.Context, p *Plugin, err error)

Source from the content-addressed store, hash-verified

22type (
23 // RefreshFunc is a callback fired after a Plugin is refreshed.
24 RefreshFunc func(ctx context.Context, p *Plugin, err error)
25 // CycleFunc is a callback fired after a Plugin's CycleIndex
26 // has changed.
27 CycleFunc func(ctx context.Context, p *Plugin)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected