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

Function NewTimer

cli/metrics/timer.go:30–32  ·  view source on GitHub ↗

NewTimer cria um novo timer

()

Source from the content-addressed store, hash-verified

28
29// NewTimer cria um novo timer
30func NewTimer() *Timer {
31 return &Timer{}
32}
33
34// Start inicia o timer e opcionalmente atualiza o display em tempo real
35func (t *Timer) Start(ctx context.Context, displayFunc func(duration time.Duration)) {

Callers 3

NewAgentModeFunction · 0.92

Calls

no outgoing calls

Tested by 2