func Start() {
	defaultDaemon.Start()
}
Start starts the default daemon instance.
package daemon
import (
	"context"
	"errors"
	"sort"
	"sync"
	"golang.org/x/xerrors"
	"github.com/iotaledger/hive.go/logger"
	"github.com/iotaledger/hive.go/syncutils"
	"github.com/iotaledger/hive.go/typeutils"
)
var (
	ErrDaemonAlreadyStopped                 = errors.New("daemon was already stopped")
	ErrDuplicateBackgroundWorker            = errors.New("duplicate background worker")
	ErrExistingBackgroundWorkerStillRunning = errors.New("existing background worker is still running")
)
var defaultDaemon = New()
func GetRunningBackgroundWorkers() []string {
	return defaultDaemon.GetRunningBackgroundWorkers()
}
func BackgroundWorker(name string, handler WorkerFunc, priority ...int) error {
	return defaultDaemon.BackgroundWorker(name, handler, priority...)
}
func DebugEnabled(enabled bool) {
	defaultDaemon.DebugEnabled(enabled)
}