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

Method Stop

core/timer.go:53–58  ·  view source on GitHub ↗

Reset resets the timer

()

Source from the content-addressed store, hash-verified

51
52// Reset resets the timer
53func (m *Timer) Stop() {
54 m.Lock()
55 defer m.Unlock()
56
57 m.started = time.Time{}
58}
59
60func (m *Timer) Running() bool {
61 m.Lock()

Callers 9

SendMethod · 0.95
setterFunction · 0.80
stopWakeUpTimerMethod · 0.80
stopVehicleDetectionMethod · 0.80
TestConcurrentReadFunction · 0.80
TestReadCoilsFunction · 0.80
startChargePointMethod · 0.80
TestConnectMethod · 0.80
stopBootTimerMethod · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 4

TestConcurrentReadFunction · 0.64
TestReadCoilsFunction · 0.64
startChargePointMethod · 0.64
TestConnectMethod · 0.64