MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / tickElapsed

Function tickElapsed

internal/tui/app.go:1620–1624  ·  view source on GitHub ↗

tickElapsed returns a tea.Cmd that ticks every second for the elapsed time display.

()

Source from the content-addressed store, hash-verified

1618
1619// tickElapsed returns a tea.Cmd that ticks every second for the elapsed time display.
1620func tickElapsed() tea.Cmd {
1621 return tea.Tick(time.Second, func(time.Time) tea.Msg {
1622 return elapsedTickMsg{}
1623 })
1624}
1625
1626// runWorktreeStep runs a worktree setup step asynchronously.
1627func (a *App) runWorktreeStep(step WorktreeSpinnerStep, baseDir, worktreePath, branchName string) tea.Cmd {

Callers 3

UpdateMethod · 0.85
doStartLoopMethod · 0.85
switchToPRDMethod · 0.85

Calls 1

TickMethod · 0.45

Tested by

no test coverage detected