MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / SetTaskStartedCallback

Method SetTaskStartedCallback

internal/ui/components/backup_form.go:29–31  ·  view source on GitHub ↗

SetTaskStartedCallback sets the callback for when a backup task starts.

(callback func(upid string))

Source from the content-addressed store, hash-verified

27
28// SetTaskStartedCallback sets the callback for when a backup task starts.
29func (bf *BackupForm) SetTaskStartedCallback(callback func(upid string)) {
30 bf.onTaskStarted = callback
31}
32
33// ShowCreateForm displays the create backup form.
34func (bf *BackupForm) ShowCreateForm(onSuccess func()) {

Callers 1

NewBackupManagerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected