MCPcopy Create free account
hub / github.com/evcc-io/evcc / processTasks

Method processTasks

core/loadpoint.go:1951–1958  ·  view source on GitHub ↗

processTasks executes a single task from the queue

()

Source from the content-addressed store, hash-verified

1949
1950// processTasks executes a single task from the queue
1951func (lp *Loadpoint) processTasks() {
1952 // test guard
1953 if lp.tasks != nil {
1954 if task, ok := lp.tasks.Dequeue(); ok {
1955 task()
1956 }
1957 }
1958}
1959
1960// startWakeUpTimer starts wakeUpTimer
1961func (lp *Loadpoint) startWakeUpTimer() {

Callers 1

UpdateMethod · 0.95

Calls 1

DequeueMethod · 0.80

Tested by

no test coverage detected