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

FuncType ActionFunc

pkg/plugins/action.go:19–19  ·  view source on GitHub ↗

ActionFunc is a function that handles the menu item clicks/selections.

func(ctx context.Context)

Source from the content-addressed store, hash-verified

17// ActionFunc is a function that handles the
18// menu item clicks/selections.
19type ActionFunc func(ctx context.Context)
20
21// actionTimeout is the amount of time xbar will wait for an
22// action to complete.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected