MCPcopy Create free account
hub / github.com/diillson/chatcli / IsRunning

Method IsRunning

cli/metrics/timer.go:107–111  ·  view source on GitHub ↗

IsRunning retorna se o timer está em execução

()

Source from the content-addressed store, hash-verified

105
106// IsRunning retorna se o timer está em execução
107func (t *Timer) IsRunning() bool {
108 t.mu.Lock()
109 defer t.mu.Unlock()
110 return t.running
111}
112
113// SetOnPause registers a callback that runs (under mu) when Pause is called.
114// Use this to clear multi-line displays before a security prompt takes over.

Callers 1

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 1